This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
app help subcommand
only shows short help, doesn't include long_about
#3036
Labels
C-bug
Category: Updating dependencies
Please complete the following tasks
Rust Version
rustc 1.56.1 (59eed8a2a 2021-11-01)
Clap Version
3.0.0-beta.5
Minimal reproducible code
(this code is at https://github.com/gibfahn/clap_repro/tree/short_help_only for ease of copying)
Steps to reproduce the bug with the above code
cargo run -- help foo
Actual Behaviour
(basing my terminology on #2983 (comment))
Clap only shows the
about
, not thelong_about
. Same output as if you runcargo run -- foo -h
.Expected Behaviour
Clap should (I think) also show the
long_about
. This would be the same output as if you were to runcargo run -- foo --help
.Additional Context
I think users who run
app help subcommand
are expecting to get the full help, at least for mehelp <subcommand>
seems equivalent to<subcommand> --help
, it's just easier to write.Debug Output
Debug output of
cargo run -- help foo
The text was updated successfully, but these errors were encountered: