mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 06:42:33 +00:00
Fix tests
This commit is contained in:
parent
3deb1943e0
commit
60cc838a42
1 changed files with 5 additions and 5 deletions
|
@ -394,8 +394,8 @@ FLAGS:
|
|||
-v, --verbose Prints out more stuff.
|
||||
|
||||
OPTIONS:
|
||||
-f, --frequency <HERTZ> The sampling frequency. By default, this is 99 Hz.
|
||||
-t, --timeout <SECONDS> Timeout in seconds. By default, there is no timeout.
|
||||
-f, --frequency <HERTZ> The sampling frequency.
|
||||
-t, --timeout <SECONDS> Timeout in seconds.
|
||||
|
||||
ARGS:
|
||||
<BINFILE> The path of the binary to be profiled. for a binary.
|
||||
|
@ -487,14 +487,14 @@ fn args_with_last_usage() {
|
|||
.multiple(true)
|
||||
)
|
||||
.arg(Arg::with_name("timeout")
|
||||
.help("Timeout in seconds. By default, there is no timeout.")
|
||||
.help("Timeout in seconds.")
|
||||
.short("t")
|
||||
.long("timeout")
|
||||
.value_name("SECONDS")
|
||||
.takes_value(true)
|
||||
)
|
||||
.arg(Arg::with_name("frequency")
|
||||
.help("The sampling frequency. By default, this is 99 Hz.")
|
||||
.help("The sampling frequency.")
|
||||
.short("f")
|
||||
.long("frequency")
|
||||
.value_name("HERTZ")
|
||||
|
@ -925,4 +925,4 @@ fn override_help() {
|
|||
|
||||
assert!(m.is_ok());
|
||||
assert!(m.unwrap().is_present("help"));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue