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(array, nargs): support -o=--value and --option=--value format #262

Merged
merged 8 commits into from
Mar 26, 2020

Conversation

mleguen
Copy link
Member

@mleguen mleguen commented Mar 26, 2020

Fixes #261

As a side effect, this PR also enforces narg 0 for -o=value and --option=value, with a new "Argument unexpected for: %s" error (was silently ignored up to now).

To meet required coverage threshold
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.

--option=--value is wrongly parsed when option is an array or has narg set
2 participants