clap/tests
Ed Page 61b8bbd218 fix(parser): Exclusive overrides required
`Arg::exclusive` is just another way of defining conflicts, so a
present-exclusive arg should override required like other conflicts.

Instead of going through the message of enumerating all other arguments
as exclusive, I shortcutted it and special case exclusive in the
required check like we do with conflicts.  The big downside is the
implicit coupling between the code paths rather than having a consistent
abstraction for covering conflicts.

This isn't a breaking change because if someone defined an exclusive arg
as a sibling to a required arg, the exclusive arg could never be used,
it always errored, and so no valid application can be written with it.

Fixes #3595
2022-05-04 12:25:44 -05:00
..
builder fix(parser): Exclusive overrides required 2022-05-04 12:25:44 -05:00
derive feat(derive): Don't abort when non-unit variant is skipped 2022-03-31 18:49:21 +02:00
derive_ui feat(derive): Don't abort when non-unit variant is skipped 2022-03-31 18:49:21 +02:00
ui test(output): Ensure correct streams 2022-04-22 10:56:47 -05:00
app.yml fix: Revert as much yaml policy to v2 as possible 2021-12-02 16:06:21 -06:00
derive_ui.rs fix: Limit when ui tests run 2021-12-06 12:37:49 -06:00
examples.rs chore: Remove dead code 2022-05-02 05:52:18 -05:00
macros.rs refactor: Update app variables to cmd 2022-02-14 15:55:56 -06:00
ui.rs test(output): Ensure correct streams 2022-04-22 10:56:47 -05:00
yaml.rs refactor: Update app variables to cmd 2022-02-14 15:55:56 -06:00