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

Allow empty value by default, introduce NoEquals Error #2360

Merged
merged 2 commits into from
Mar 11, 2021

Conversation

ldm0
Copy link
Member

@ldm0 ldm0 commented Feb 22, 2021

Fixes #1740

@ldm0
Copy link
Member Author

ldm0 commented Feb 22, 2021

Removed AllowEmptyValues, introduces NoEmptyValues(When enabled, empty values is not allowed). The NoEquals error emits when user doesn't provide Equal sign when RequireEquals is enabled.

src/build/arg/settings.rs Show resolved Hide resolved
src/parse/errors.rs Outdated Show resolved Hide resolved
src/parse/errors.rs Outdated Show resolved Hide resolved
src/build/arg/mod.rs Show resolved Hide resolved
Copy link
Member

@pksunkara pksunkara left a comment

Choose a reason for hiding this comment

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

Minor changes.

src/build/arg/mod.rs Show resolved Hide resolved
src/build/arg/mod.rs Outdated Show resolved Hide resolved
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.

Add configuration to allow empty values in v3
2 participants