Skip to content

subcommandsRepeatable = true vs HelpCommand #2123

Description

@roxspring

If I've understood correctly then it seems that @CommandLine(subcommandsRepeatable) breaks HelpCommand's ability to provide help for that command.

For example, given a tool with subcommandsRepeatable = true and a subcommand sub, then I'd expect tool help sub to provide the usage for the sub subcommand, but what I see is the usage for tool itself.

Is this expected to work already and I'm doing something wrong? Or does this seem like a bug?

(I'll aim to isolate an example together tomorrow, but thought it might be worth starting the conversation sooner...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions