Skip to content

Commit 2b3fc0f

Browse files
committed
docs: fix cli-table generator
1 parent 597e0c2 commit 2b3fc0f

File tree

3 files changed

+75
-75
lines changed

3 files changed

+75
-75
lines changed

docs/.vitepress/scripts/cli-generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function resolveCommand(name: string, config: CLIOption<any> | null): any {
3030
title += ` ${config.argument}`
3131
title += '`'
3232
if ('subcommands' in config && config.subcommands)
33-
return resolveOptions(config.subcommands)
33+
return resolveOptions(config.subcommands, name)
3434

3535
return {
3636
title,

0 commit comments

Comments
 (0)