From 36d7250af2f27d67ebdb9a195acbb894206831b4 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Thu, 24 May 2018 19:52:41 +0200 Subject: [PATCH] Allow arguments to override themselves --- src/app.rs | 1 + 1 file changed, 1 insertion(+) 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)