Add documentation about logging errors to stderr

This commit is contained in:
Gergő Sályi 2023-04-08 06:28:29 +02:00
parent fdf7914435
commit 7103939a6e
2 changed files with 5 additions and 1 deletions

View file

@ -53,6 +53,8 @@ It is recommended to edit the wallpaper images in a dedicated image editor. Neve
$ multibg-sway --contrast=-25 --brightness=-60 ~/my_wallpapers
In case of errors multibg-sway logs to stderr and tries to continue. One may wish to redirect stderr if multibg-sway is being run as a daemon.
## Installation
- With Rust toolchain:
- For Arch Linux from AUR:

View file

@ -66,7 +66,9 @@ It is recommended to edit the wallpaper images in a dedicated image editor.
Nevertheless the contrast and brightness might be adjusted here:
$ multibg-sway --contrast=-25 --brightness=-60 ~/my_wallpapers
")]
In case of errors multibg-sway logs to stderr and tries to continue.
One may wish to redirect stderr if multibg-sway is being run as a daemon.")]
pub struct Cli {
/// adjust contrast, eg. -c=-25 (default: 0)
#[arg(short, long)]