-
Notifications
You must be signed in to change notification settings - Fork 362
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
Options without separating space consume positional arguments #90
Comments
It was a logic error for the "rest" part of a short option; it would not consider that in the always eat one calculation. Thanks! PS: I will also add a test for |
henryiii
added a commit
that referenced
this issue
Mar 26, 2018
Thank you for the swift fix! By the way lib is simply awesome. Cant say that enough. 😄 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider this application:
Following fails:
./test -OTest param1 param2
Error:
bar is required
Following works:
./test -O Test param1 param2
It should either warn that
-OTest
is not a proper option instead of consumingparam1
or accept-OTest
with valueTest
.The text was updated successfully, but these errors were encountered: