From d34ec3e032d03e402d8e87af9b2942fe2819b2da Mon Sep 17 00:00:00 2001 From: Kevin K Date: Fri, 30 Dec 2016 21:37:09 -0500 Subject: [PATCH] fix(Help Subcommand): fixes a bug where the help subcommand couldn't be overriden Closes #787 --- src/app/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/parser.rs b/src/app/parser.rs index 144418bf..e198b6d5 100644 --- a/src/app/parser.rs +++ b/src/app/parser.rs @@ -240,7 +240,7 @@ impl<'a, 'b> Parser<'a, 'b> debug!("Parser::add_subcommand: Is help..."); if subcmd.p.meta.name == "help" { sdebugln!("Yes"); - self.settings.set(AppSettings::NeedsSubcommandHelp); + self.settings.unset(AppSettings::NeedsSubcommandHelp); } else { sdebugln!("No"); }