From: Stephen Seo Date: Tue, 12 Jul 2022 08:53:17 +0000 (+0900) Subject: Update help text X-Git-Tag: 0.1.0~11 X-Git-Url: https://git.seodisparate.com/stephenseo/static/git-favicon.png?a=commitdiff_plain;h=b4199bd72678fd4bcfd712b211e326364c007e86;p=swaybar_info Update help text --- diff --git a/src/args.rs b/src/args.rs index 31a2955..bc60216 100644 --- a/src/args.rs +++ b/src/args.rs @@ -42,17 +42,19 @@ pub fn print_usage() { let mut stderr_handle = io::stderr().lock(); stderr_handle.write_all(b"Usage:\n").ok(); stderr_handle - .write_all(b" -h | --help\t\t\t\tPrints help\n") + .write_all(b" -h | --help\t\t\t\t\t\tPrints help\n") .ok(); stderr_handle - .write_all(b" --netdev=\t\tCheck network traffic on specified device\n") + .write_all(b" --netdev=\t\t\t\tCheck network traffic on specified device\n") .ok(); stderr_handle - .write_all(b" --interval-sec=\t\tOutput at intervals of (default 5)\n") + .write_all( + b" --interval-sec=\t\t\t\tOutput at intervals of (default 5)\n", + ) .ok(); stderr_handle .write_all( - b" --regex-cmd=,,\tUse an output of a command as a metric\n", + b" --regex-cmd=[SPLIT][SPLIT]\tUse an output of a command as a metric\n", ) .ok(); }