Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include groups in get_arg_conflicts_with #3902

Merged
merged 1 commit into from Jul 14, 2022

Conversation

tmccombs
Copy link
Contributor

@tmccombs tmccombs commented Jul 9, 2022

So that it doesn't panic if trying to get the conflicts for an Arg that
conflicts with a group.

Fixes: #3900

@tmccombs tmccombs force-pushed the get-conflicts-with-group branch 2 times, most recently from 66cd439 to dab32a3 Compare July 11, 2022 06:40
src/builder/command.rs Outdated Show resolved Hide resolved
tests/builder/conflicts.rs Outdated Show resolved Hide resolved
tests/builder/conflicts.rs Show resolved Hide resolved
@epage
Copy link
Member

epage commented Jul 11, 2022

Thanks for doing this!

@epage
Copy link
Member

epage commented Jul 13, 2022

@tmccombs could you run cargo fmt so CI passes?

So that it doesn't panic if trying to get the conflicts for an Arg that
conflicts with a group.

Fixes: clap-rs#3900
@epage epage merged commit afc5401 into clap-rs:master Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

get_arg_conflicts_with panics if arg conflicts with group.
2 participants