Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(parser): Don't panic with conflicts and groups
With #5298, I had overlooked that `matcher.arg_ids()` includes `ArgGroup`s. I had assumed I could always find a present `id` among `Arg`s and `unwrap`ed. I skipped a test for this because the use case is a bit strange that the long term value for the test would likely be low. If/when we add derive support for `args_conflicts_with_subcommands`, it will then cover this case. Fixes #5304
- Loading branch information