Skip to content

Commit

Permalink
use --command-name for the long option
Browse files Browse the repository at this point in the history
  • Loading branch information
scampi committed Oct 15, 2020
1 parent 6f54da1 commit cc67788
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/hyperfine.1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/hyperfine/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cc67788

Please sign in to comment.