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

Add redundant check for --yes and --no flags conflict #221

Merged
merged 1 commit into from
Dec 8, 2021

Conversation

marcospb19
Copy link
Member

Should be covered by clap, but we're double checking it now

Should be covered by clap, but we're double checking it now
@marcospb19 marcospb19 merged commit b509878 into master Dec 8, 2021
(false, false) => QuestionPolicy::Ask,
(true, false) => QuestionPolicy::AlwaysYes,
(false, true) => QuestionPolicy::AlwaysNo,
(true, true) => unreachable!(),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now we'll panic in case it fails.

@marcospb19 marcospb19 deleted the flags-no-yes-redundancy-check branch June 8, 2022 20:51
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.

1 participant