mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 06:12:40 +00:00
02d27b5ce3
The setting was added to resolve #769. The reason it was optional is out of concern for applications with a lot of positional arguments. I think those cases are rare enough that we should just push people to override the usage. Positional arguments are generally important enough, even if optional, to show. As a side effect, this fixed some bugs with `dont_collapse_args_in_usage` where it would repeat an argument in a smart usage. As a side effect, smart usage now shows `--` when it should |
||
---|---|---|
.. | ||
builder | ||
derive | ||
derive_ui | ||
ui | ||
derive_ui.rs | ||
examples.rs | ||
macros.rs | ||
ui.rs |