From 650ee948004c2a448dfcf19d4241be6f643498ba Mon Sep 17 00:00:00 2001 From: Andrew Hlynskyi Date: Wed, 23 Jun 2021 11:16:41 +0300 Subject: [PATCH] fix(cli): disable help subcommand, -h, --help are enough --- cli/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/src/main.rs b/cli/src/main.rs index 6334d916..af25c2fd 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -41,6 +41,7 @@ fn run() -> Result<()> { .author("Max Brunsfeld ") .about("Generates and tests parsers") .global_setting(AppSettings::ColoredHelp) + .global_setting(AppSettings::DisableHelpSubcommand) .subcommand(SubCommand::with_name("init-config").about("Generate a default config file")) .subcommand( SubCommand::with_name("generate")