summaryrefslogtreecommitdiffstats
path: root/src/app.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.rs')
-rw-r--r--src/app.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app.rs b/src/app.rs
index 70955fc7..e7e554cc 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -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)