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: Deprecate most AppSettings #3449

Merged
merged 4 commits into from
Feb 11, 2022
Merged

fix: Deprecate most AppSettings #3449

merged 4 commits into from
Feb 11, 2022

Conversation

epage
Copy link
Member

@epage epage commented Feb 11, 2022

This leaves some for further work before deprecating.

This is part of #2717

This is a part of clap-rs#2717

Some settings didn't get getters because
- They are transient parse settings (e.g. ignore errors)
- They get propagated to args and should be checked there

`is_allow_hyphen_values_set` is a curious case.  In some cases, we only
check the app and not an arg.  This seems suspicious.
@epage epage merged commit f7b5cdc into clap-rs:master Feb 11, 2022
@epage epage deleted the app branch February 11, 2022 18: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