Conflicts seem to not be handled properly when using a group #5041
Labels
A-validators
Area: ArgMatches validation logi
C-bug
Category: Updating dependencies
E-medium
Call for participation: Experience needed to fix: Medium / intermediate
Please complete the following tasks
Rust Version
rustc 1.73.0-nightly (4c8bb79d9 2023-07-15)
Clap Version
4.3.19
Minimal reproducible code
Steps to reproduce the bug with the above code
run-cargo-script.exe .\clap1.rs --other
Actual Behaviour
The following error is obtained:
Expected Behaviour
As other is set to conflict with a, b, c, and even g, there should be no problem.
I would say that the behavior should be similar to this one:
run-cargo-script.exe .\clap2.rs --other
raises no issueAdditional Context
Maybe it is related to #4520 or #4707, or maybe I misunderstood some details in clap way of working
Debug Output
Output of clap1
Output of clap2
The text was updated successfully, but these errors were encountered: