Nick Crews
Nick Crews
You are suggesting changing this to `DocoptExit(f"Warning: found unmatched (duplicate?) arguments {left}, parsed {collected}", left=left, collected=collected)` I think that would be very reasonable. I will review any PRs you send.
Thanks for this! I can reproduce. I don't actually understand the parser that well (I inherited maintainership but didn't write it), and I don't even use docopt anymore, so if...
To repro, add this to the end of testcases.docopt: ``` # https://github.com/jazzband/docopt-ng/issues/60 r""" Usage: test.py [--to=SITE]... [--] FILE... test.py [--to=SITE]... --config CONFIG [[--] FILE...] Options: --config CONFIG Configuration file. --to=SITE...
Hi @Sylvain303, nice to meet you! If the multiple ports were able to share one grammar, I think that would help unify the whole ecosystem, and reduce bugs. If someone...
@Cyleigh that use case makes sense, thanks for the thoughts! Does docopt satisfy your needs, or is there something missing?
@dwt that feature makes sense, and should be theoretically be possible. If you want to discuss this further, please make a new feature request issue, so this thread doesn't go...
In it's current form I'm gonna close this as out-of-scope. I don't think enough people are gonna desire it to warrant the extra code this would require. But, this could...
Thanks for the issue, I agree. I'd be very happy to accept a PR that fixes this, but I'm not motivated enough to dig into the legacy hand-rolled parser to...
Thanks @ThosRTanner this looks like a great improvement. Sorry I didn't see it before, please tag me to get my attention.
OK, so the `🐍 ` link actually works and goes to the right file. It's the ` 📝 ` links that open up the dialog that I screenshotted above. I'm...