mirror of
https://github.com/clap-rs/clap
synced 2025-03-04 23:37:32 +00:00
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 |
||
---|---|---|
.. | ||
arg_required_else_help_stderr.toml | ||
error_stderr.toml | ||
h_flag_stdout.toml | ||
help_cmd_stdout.toml | ||
help_flag_stdout.toml | ||
V_flag_stdout.toml | ||
version_flag_stdout.toml |