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

fix!: Allow adding new enum variants #3167

Merged
merged 1 commit into from
Dec 13, 2021
Merged

Conversation

epage
Copy link
Member

@epage epage commented Dec 13, 2021

Without being a breaking change.

This seems minor enough that we can break this during the release
candidates. For ValueHint, the completion scripts are 99% of who
should be matching it. AppSettings as undocumented variants that
people shouldn't use.

BREAKING CHANGE: clap::{ValueHint, ErrorKind, AppSettings, ArgSettings} are now non_exhaustive.

Without being a breaking change.

This seems minor enough that we can break this during the release
candidates.  For `ValueHint`, the completion scripts are 99% of who
should be `match`ing it.  `AppSettings` as undocumented variants that
people shouldn't use.

BREAKING CHANGE: `clap::{ValueHint, ErrorKind, AppSettings,
ArgSettings}` are now `non_exhaustive`.
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.

None yet

2 participants