diff --git a/src/cli/program/help.ts b/src/cli/program/help.ts index 2a922a61f..57fb99e20 100644 --- a/src/cli/program/help.ts +++ b/src/cli/program/help.ts @@ -56,6 +56,8 @@ export function configureProgramHelp(program: Command, ctx: ProgramContext) { ); program.option("--no-color", "Disable ANSI colors", false); + program.helpOption("-h, --help", "Display help for command"); + program.helpCommand("help [command]", "Display help for command"); program.configureHelp({ // sort options and subcommands alphabetically