Subcommand headings do not work #3482
Labels
A-help
Area: documentation, including docs.rs, readme, examples, etc...
C-bug
Category: bug
S-duplicate
Status: Closed as Duplicate
Please complete the following tasks
Rust Version
rustc 1.58.0 (02072b482 2022-01-11)
Clap Version
3.1.0
Minimal reproducible code
Example PR where I'm testing: moonrepo/moon#51
That being said, I've tried all of these patterns to add headings to subcommands with no luck.
Steps to reproduce the bug with the above code
Just apply the subcommands to an app/parser.
Actual Behaviour
Instead of altering the help menu on the "main" entry point where the subcommands are listed (
moon --help
), these 3 patterns above seemed to alter the help menu of the args in the command itself (moon bin --help
, which seemed wrong, since those args have their own heading settings.For example, this is the output I get for my command (notice the "Group").
Expected Behaviour
All 3 of those patterns above did not alter the help menu for the "main" entry point (
moon --help
). For example, this is my current CLI output.What i'm looking for is something like this:
Additional Context
No response
Debug Output
No response
The text was updated successfully, but these errors were encountered: