diff --git a/src/command_line_parser.rs b/src/command_line_parser.rs index 3a30440..c7ebfa7 100644 --- a/src/command_line_parser.rs +++ b/src/command_line_parser.rs @@ -78,7 +78,11 @@ pub fn command() -> Command { .num_args(0..) .help("Service to test via the TCP protocol; can be passed multiple times"), ) - .arg(Arg::new("command").num_args(0..)) + .arg( + Arg::new("command") + .num_args(0..) + .help("Command to run after waiting;\nincludes command arguments, resolved against ${PATH}"), + ) } #[cfg(test)] diff --git a/src/main.rs b/src/main.rs index 6a47d48..6d01723 100644 --- a/src/main.rs +++ b/src/main.rs @@ -99,7 +99,8 @@ fn test_middle_main() { Usage: rust-for-it [OPTIONS] [command]... Arguments: - [command]... + [command]... Command to run after waiting; + includes command arguments, resolved against ${PATH} Options: -q, --quiet Do not output any status messages