You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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...)
The text was updated successfully, but these errors were encountered:
roxspring
changed the title
subcommandsRepeatable = true vs help
subcommandsRepeatable = true vs HelpCommand
Sep 28, 2023
If I've understood correctly then it seems that
@CommandLine(subcommandsRepeatable)
breaksHelpCommand
's ability to provide help for that command.For example, given a
tool
withsubcommandsRepeatable = true
and a subcommandsub
, then I'd expecttool help sub
to provide the usage for thesub
subcommand, but what I see is the usage fortool
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...)
The text was updated successfully, but these errors were encountered: