Allow arguments to override themselves

This commit is contained in:
sharkdp 2018-05-24 19:52:41 +02:00 committed by David Peter
parent 2ce8655167
commit 36d7250af2

View File

@ -40,6 +40,7 @@ impl App {
.global_setting(AppSettings::DeriveDisplayOrder)
.global_setting(AppSettings::UnifiedHelpMessage)
.global_setting(AppSettings::NextLineHelp)
.global_setting(AppSettings::AllArgsOverrideSelf)
.setting(AppSettings::InferSubcommands)
.setting(AppSettings::ArgsNegateSubcommands)
.setting(AppSettings::DisableHelpSubcommand)