diff --git a/doc/hyperfine.1 b/doc/hyperfine.1 index 26f07d9..e4a51ad 100644 --- a/doc/hyperfine.1 +++ b/doc/hyperfine.1 @@ -164,7 +164,7 @@ Print the stdout and stderr of the benchmark instead of suppressing it. This will increase the time it takes for benchmarks to run, so it should only be used for debugging purposes or when trying to benchmark output speed. .HP -\fB\-\-name\fR \fIname\fP +\fB\-n\fR, \fB\-\-command\-name\fR \fIname\fP .IP Identify a command with the given \fIname\fP. Commands and names are paired in the same order: the first command executed gets the first name passed as diff --git a/src/hyperfine/app.rs b/src/hyperfine/app.rs index 1521af8..c111e46 100644 --- a/src/hyperfine/app.rs +++ b/src/hyperfine/app.rs @@ -228,7 +228,7 @@ fn build_app() -> App<'static, 'static> { ) .arg( Arg::with_name("command-name") - .long("name") + .long("command-name") .short("n") .takes_value(true) .multiple(true)