changing the help message

This commit is contained in:
Bryan Ndjeutcha 2021-07-18 12:46:40 -04:00
parent 876c08e923
commit 2bba24ddb9
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# A [river](https://github.com/ifreund/river)-status client # A [river-status](https://github.com/ifreund/river) client
This client is useful if you want to have a module for somethig like [eww](https://github.com/elkowar/eww) or [waybar](https://github.com/Alexays/Waybar) with status information like the window title, the focused tag and the tag of views. This client is useful if you want to have a module for somethig like [eww](https://github.com/elkowar/eww) or [waybar](https://github.com/Alexays/Waybar) with status information like the window title, the focused tag and the tag of views.

View File

@ -97,11 +97,11 @@ fn main() {
"--view-tags" | "-vt" => enable_views_tag = true, "--view-tags" | "-vt" => enable_views_tag = true,
"--help" | "-h" | "--h" => { "--help" | "-h" | "--h" => {
print!("Usage: ristate [option]\n\n"); print!("Usage: ristate [option]\n\n");
print!(" --monitor | -m <uint> : select the monitor\n"); print!(" -s | --seat <string> select the seat\n");
print!(" --seat | -s <string> : select the seat\n"); print!(" -m | --monitor <uint> select the monitor\n");
print!(" --tag | -t : displays the focused tag\n"); print!(" -t | --tag displays the focused tag\n");
print!(" --view-tags | -vt : displays the tag of all views\n"); print!(" -vt | --view-tags displays the tag of all views\n");
println!(" --window-title | -w : displays the title of the focused view\n"); println!(" -w | --window-title displays the title of the focused view\n");
std::process::exit(0); std::process::exit(0);
} }
_ => break, _ => break,