mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
66341b3c11
When supporting multiple occurrences for positional arguments in #2804, I added some tests to cover this but apparently simpler cases fail despite those more complicated cases being tested. This adds more multiple-occurrences tests for positional arguments, fixes them, and in general equates multiple values with occurrences for positional arguments as part of #2692. There are a couple more points for consideration for #2692 for us to decide on once this unblocks them (usage special case in #2977 and how subcommand help should be handled). I fully admit I have not fully quantified the impact of all of these changes and am heavily relying on the quality of our tests to carry this forward. |
||
---|---|---|
.. | ||
examples | ||
src | ||
tests | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
README.md |
clap_generate
Generates completions (and other things) for clap
based CLIs