Open ericonr opened 2 years ago
I think this is mostly behaving correctly -- as I don't think the original docopt in Python does this as well.
This would probably be pretty hard to add on. What is the use-case where this would be useful?
I'm not sure I understand your comment? As far as I can see it isn't a new feature, but a bug which has the parser all confused and putting the wrong things in the return map.
In same order as the help string (correct):
In opposite order (wrong):
Only the first one (correct):
Only the second one (wrong):