Skip to content

Commit

Permalink
docs: fix cli-table generator
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Apr 23, 2024
1 parent 597e0c2 commit 2b3fc0f
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 75 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/scripts/cli-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function resolveCommand(name: string, config: CLIOption<any> | null): any {
title += ` ${config.argument}`
title += '`'
if ('subcommands' in config && config.subcommands)
return resolveOptions(config.subcommands)
return resolveOptions(config.subcommands, name)

return {
title,
Expand Down
Loading

0 comments on commit 2b3fc0f

Please sign in to comment.