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

Detect unknown option by prefix instead of treating them as parameters #7

Open
lefou opened this issue Nov 23, 2014 · 0 comments
Open

Comments

@lefou
Copy link
Member

lefou commented Nov 23, 2014

Currently, all paramters not representing a known option are treated as a parameter. With such a (new) configuration option, parameters beginning with a specific prefex (e.g. "-" or "--") could immediatly reported as "unknown option" whereas currently, they would be used as parameter and the application has to validate them later. Of course, this behaviour should be opt-in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant