-
Notifications
You must be signed in to change notification settings - Fork 146
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
Using optional args out of order leads to wrong values all around #148
Labels
Comments
ericonr
added a commit
to lnls-dig/uhal
that referenced
this issue
Apr 20, 2022
Doesn't suffer from bugs found in docopt (at least [1] and [2]), has more active development and a better API. Needs to be updated to argparse 2.3 (per [3]) to actually compile. [1] docopt/docopt.cpp#147 [2] docopt/docopt.cpp#148 [3] mesonbuild/wrapdb#393
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? |
ericonr
added a commit
to lnls-dig/uhal
that referenced
this issue
May 20, 2022
Doesn't suffer from bugs found in docopt (at least [1] and [2]), has more active development and a better API. [1] docopt/docopt.cpp#147 [2] docopt/docopt.cpp#148
ericonr
added a commit
to lnls-dig/uhal
that referenced
this issue
Jun 3, 2022
Doesn't suffer from bugs found in docopt (at least [1] and [2]), has more active development and a better API. [1] docopt/docopt.cpp#147 [2] docopt/docopt.cpp#148
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. |
ericonr
added a commit
to lnls-dig/uhal
that referenced
this issue
Aug 19, 2022
Doesn't suffer from bugs found in docopt (at least [1] and [2]), has more active development and a better API. [1] docopt/docopt.cpp#147 [2] docopt/docopt.cpp#148
ericonr
added a commit
to lnls-dig/uhal
that referenced
this issue
Sep 9, 2022
Doesn't suffer from bugs found in docopt (at least [1] and [2]), has more active development and a better API. [1] docopt/docopt.cpp#147 [2] docopt/docopt.cpp#148
ericonr
added a commit
to lnls-dig/uhal
that referenced
this issue
Sep 9, 2022
Doesn't suffer from bugs found in docopt (at least [1] and [2]), has more active development and a better API. [1] docopt/docopt.cpp#147 [2] docopt/docopt.cpp#148
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In same order as the help string (correct):
In opposite order (wrong):
Only the first one (correct):
Only the second one (wrong):
The text was updated successfully, but these errors were encountered: