-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
area/v3relates to / is being considered for v3relates to / is being considered for v3status/triagemaintainers still need to look into thismaintainers still need to look into this
Description
Hi there,
I think it would help readability a lot if cli/v3 can check for subcommands first before printing the help of a command.
For example, right now this is the help that I get:
NAME:
app cmd1 cmd2 - does something cool
USAGE:
app cmd1 cmd2 [command [command options]] <myArgUsage>
OPTIONS:
--flag value (default: 1)
--help, -h show help (default: false)
Note that cmd2 has no sub-commands which makes it distracting from reading and understanding the USAGE. So what I'd love to instead see is:
NAME:
app cmd1 cmd2 - does something cool
USAGE:
app cmd1 cmd2 <myArgUsage>
OPTIONS:
--flag value (default: 1)
--help, -h show help (default: false)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/v3relates to / is being considered for v3relates to / is being considered for v3status/triagemaintainers still need to look into thismaintainers still need to look into this