You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the reference: This ticket hasn't seen any progress because it's actually quite tricky. Its syntax does in fact collide with concatenated values for short options as implemented in #12.
add -iwa should be interpreted as add -i -w=a and not as add -i -w -a.
This means that we can only consume combined short options beginning from the first letter and then checking each occurrence if it accepts a value.
This change will likely require a major refactoring, because we currently consume individual tokens from the route expression the order they're defined in. We may now have to also check combined options in the order they're passed in.
clue
changed the title
Support combined short options
Support combined short options from user input
Apr 20, 2017
We should support matching combined short options:
All
add -i -a
,add -ia
andadd -ai
should result in the same match.Also, short options with values (depends on #3) may be even trickier.
Depends on #2.
The text was updated successfully, but these errors were encountered: