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") - .ok(); - stderr_handle - .write_all(b" --interval-sec=\t\tOutput at intervals of (default 5)\n") + .write_all(b" --netdev=\t\t\t\tCheck network traffic on specified device\n") .ok(); stderr_handle .write_all( - b" --regex-cmd=,,\tUse an output of a command as a metric\n", + b" --interval-sec=\t\t\t\tOutput at intervals of (default 5)\n", + ) + .ok(); + stderr_handle + .write_all( + b" --regex-cmd=[SPLIT][SPLIT]\tUse an output of a command as a metric\n", ) .ok(); }