mirror of
https://github.com/clap-rs/clap
synced 2025-01-08 18:58:53 +00:00
bbb6c38bad
If short help is too long for the terminal, clap will automatically switch to next line help. As part of next line help for longs, we add a blank line between args. This helps make the args clearer when dealing with multiple paragraphs. However, its not as much needed for short and subcommands (always short), so now short matches subcommands. This was inspired by #3300 and a part of #4132
365 B
365 B
$ 02_app_settings_derive --help
A simple to use, efficient, and full-featured Command Line Argument Parser
Usage: 02_app_settings_derive[EXE] --two <TWO> --one <ONE>
Options:
--two <TWO>
--one <ONE>
-h, --help
Print help information
-V, --version
Print version information