Show subcommand about
on same line, even in --help
#4897
Labels
C-enhancement
Category: Raise on the bar on expectations
about
on same line, even in --help
#4897
Please complete the following tasks
Clap Version
master
Describe your use case
It's easier to read, of course when long_about (not just the summary) is used, putting it on the same line is less than desirable, but this always shows the summary anyway.
Example:
Describe the solution you'd like
Currently, line 898 in help_template.rs (or, somewhere in
write_subcommands
):Switch this to:
This will cause clap to always show subcommands on the same line.
Alas, This is not future proof.
Alternatives, if applicable
#1334, or just no changes. It's fine currently.
Additional Context
Since it only ever shows
about
and notlong_about
for subcommands in particular, it makes sense for it to (by default) show it on the same line, since it's the summary.-h
does this, and so does--help
too - unlesslong_about
is provided on anything.if
next_line_help(true)
is passed, then it should preserve the current behavior of course.The text was updated successfully, but these errors were encountered: