docs: Note case in #3309

This commit is contained in:
Ed Page 2022-01-18 10:30:51 -06:00
parent bd1bf66279
commit 4b60440d91

View file

@ -212,6 +212,7 @@ Subtle changes (i.e. compiler won't catch):
- Changed `...`s meaning in usage parser. Before, it always meant `multiple` which is still true for `--option [val]...`. Now `[name]... --option [val]` results in `ArgSettings::MultipleOccurrences`. - Changed `...`s meaning in usage parser. Before, it always meant `multiple` which is still true for `--option [val]...`. Now `[name]... --option [val]` results in `ArgSettings::MultipleOccurrences`.
- Usage exit code changed from `1` to `2` ([clap-rs/clap#1327](https://github.com/clap-rs/clap/issues/1327)) - Usage exit code changed from `1` to `2` ([clap-rs/clap#1327](https://github.com/clap-rs/clap/issues/1327))
- Reject `--foo=bar` when `takes_value(false)` ([clap-rs/clap#1543](https://github.com/clap-rs/clap/issues/1543)) - Reject `--foo=bar` when `takes_value(false)` ([clap-rs/clap#1543](https://github.com/clap-rs/clap/issues/1543))
- No longer accept an arbitrary number of `-` for long arguments (`-----long`)
Easier to catch changes: Easier to catch changes:
- When using `no-default-features`, you now have to specify the `std` feature (reserved for future work) - When using `no-default-features`, you now have to specify the `std` feature (reserved for future work)