Closed ysndr closed 1 year ago
Example in the wild, ie. go cobra i guess:
gh repo view -w -b main
gh repo view -wb main
# but also
gh repo view -w -bmain
gh repo view -wbmain
Ack. I'll see if this can be supported without making things too complicated...
Thanks for looking into it!
When I specify short names for options and flags, i.e.
-l, -f, -v <ARG>
I can combine the flag arguments as-lf
. However it's not possible to also specify -v in that form, i.e.-lfv <ARG>
is invalid. While this will only be possible when there is zero or one value argument in the last position, it does not seem far fetched to expect this to work.I assume this is a conflict with supporting
-lARG
:Reporducer