mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
c1c269b427
In reviewing CLIs for #4132, I found some were providing helps on `-h` vs `--help` and figured that could be built directly into clap. I had considered not making this hint automatic but I figured the overhead of checking if long exists wouldn't be too bad. The code exists (no binary size increase) and just a simple iteration is probably not too slow compared to everything else. Fixes #1015 |
||
---|---|---|
.. | ||
aliases.bash.roff | ||
basic.bash.roff | ||
feature_sample.bash.roff | ||
hidden_option.bash.roff | ||
possible_values.bash.roff | ||
quoting.bash.roff | ||
special_commands.bash.roff | ||
sub_subcommands.bash.roff | ||
value_env.bash.roff | ||
value_hint.bash.roff |