use --command-name for the long option

This commit is contained in:
Stéphane Campinas 2020-10-15 22:11:38 +02:00 committed by David Peter
parent 746e5fe687
commit 71a47c0566
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)