mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
Merge #2984
2984: fix: Switch sub-commands from multi-val to multi-occur r=pksunkara a=epage Co-authored-by: Ed Page <eopage@gmail.com>
This commit is contained in:
commit
3cc46a1c83
1 changed files with 1 additions and 1 deletions
|
@ -923,7 +923,7 @@ impl<'help, 'app> Parser<'help, 'app> {
|
|||
let pb = Arg::new("subcommand")
|
||||
.index(1)
|
||||
.setting(ArgSettings::TakesValue)
|
||||
.setting(ArgSettings::MultipleValues)
|
||||
.setting(ArgSettings::MultipleOccurrences)
|
||||
.value_name("SUBCOMMAND")
|
||||
.about("The subcommand whose help message to display");
|
||||
sc = sc.arg(pb);
|
||||
|
|
Loading…
Reference in a new issue