fix(cli): disable help subcommand, -h, --help are enough
This commit is contained in:
parent
1220ec3852
commit
650ee94800
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ fn run() -> Result<()> {
|
|||
.author("Max Brunsfeld <maxbrunsfeld@gmail.com>")
|
||||
.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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue