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

unused options may have unexpected behavior #34

Open
guilhermesena1 opened this issue Nov 22, 2019 · 0 comments
Open

unused options may have unexpected behavior #34

guilhermesena1 opened this issue Nov 22, 2019 · 0 comments

Comments

@guilhermesena1
Copy link
Contributor

unused options sometimes are either ignored as options or put as leftover args. Example: ./program -X would treat -X as a leftover arg if the X option has not been added, similarly, ./program -X -v would ignore -X if v was added but X was not. Users should be notified about invalid options, ideally by failing the program and printing the help message.

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

No branches or pull requests

1 participant