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:
bors[bot] 2021-11-03 16:59:25 +00:00 committed by GitHub
commit 3cc46a1c83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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