From 26b9abe2c9735371e7e7c04c0ad63fcc4fab9216 Mon Sep 17 00:00:00 2001 From: Pedro Gonzalez Date: Wed, 28 Jan 2026 11:21:26 -0500 Subject: [PATCH] Sorting the help menu. --- src/cli/program/help.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cli/program/help.ts b/src/cli/program/help.ts index 6c872477c..f314214a4 100644 --- a/src/cli/program/help.ts +++ b/src/cli/program/help.ts @@ -46,6 +46,7 @@ export function configureProgramHelp(program: Command, ctx: ProgramContext) { program.configureHelp({ optionTerm: (option) => theme.option(option.flags), subcommandTerm: (cmd) => theme.command(cmd.name()), + sortSubcommands: true, }); program.configureOutput({