-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Combining shorthand flags before command names does not work #2188
Comments
This sounds familiar. You may want to look at past issues. Does |
Yes |
Sounds like a bug then |
I gave it a go myself in #2189. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to reproduce:
go build ./mycli.go
):So why does
./mycli -ABC elephant first second
not work? It seems like it should have no problem noticing that the last flag in the bundle,-C
, takes an argument, and therefore not considerelephant
as a command name, but as an argument to-C
.Is this a bug, a missing feature, or intended behavior?
Thanks!
The text was updated successfully, but these errors were encountered: