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(parser): Ensure globals override env vars #3879

Merged
merged 2 commits into from Jun 28, 2022
Merged

Conversation

epage
Copy link
Member

@epage epage commented Jun 28, 2022

This fixes a bug introduced in 4a694f3
when we were trying to move away from presence checks via occurrences.
I switched it to the common type of presence check but really what we
want is a highest-precedence check.

Fixes #3872

This fixes a bug introduced in 4a694f3
when we were trying to move away from presence checks via occurrences.
I switched it to the common type of presence check but really what we
want is a highest-precedence check.

Fixes clap-rs#3872
@epage epage merged commit f406d99 into clap-rs:master Jun 28, 2022
@epage epage deleted the env branch June 28, 2022 13:01
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.

Environment variable sometimes overrides global arg, new in 3.2
1 participant