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

Support collecting all unrecognized arguments after parsing known args #348

Merged
merged 2 commits into from
Mar 5, 2020

Conversation

natemcmaster
Copy link
Owner

Addresses #171

Prior to this, the only options were to treat all unrecognized arguments as fatal errors, or to treat them as the beginning of a list of unrecognized args.

This allows a new, third way to handle unrecognized arguments. Regardless of order, all recognized arguments are parsed and the unrecognized ones will be made available in CommandLineApplication. RemainingArguments.

@natemcmaster natemcmaster merged commit 2b502c4 into master Mar 5, 2020
@natemcmaster natemcmaster deleted the unrecognized-args branch March 5, 2020 18:15
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