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
While filing up #18, I found a small inconsistency in the way ambiguities are resolved.
According to docopt.org:
Note, writing --input ARG (opposed to --input=ARG) is ambiguous, meaning it is not possible to tell whether ARG is option's argument or positional argument. In usage patterns this will be interpreted as option with argument only if option's description (covered below) for that option is provided. Otherwise it will be interpreted as separate option and positional argument.
While filing up #18, I found a small inconsistency in the way ambiguities are resolved.
According to docopt.org:
So, if you take the following
and call it with
--input foo
you'd expect:but you get
Even providing the correct option description doesn't get the intended behavior:
Disambiguating it the other way gives you something even stranger:
The text was updated successfully, but these errors were encountered: