Skip to content
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

Two long options can result in "specified ambiguously" error #11

Open
mmastrac opened this issue Jan 2, 2015 · 1 comment
Open

Two long options can result in "specified ambiguously" error #11

mmastrac opened this issue Jan 2, 2015 · 1 comment

Comments

@mmastrac
Copy link

mmastrac commented Jan 2, 2015

When I specify --woff given two option declarations --woff and --woff, I get an error saying that --woff is specified ambiguously 2 times

One-liner repro (after npm install docopt):

require('docopt').docopt("usage:\n--woff\n--woff2", {argv:["--woff"]})
 --woff is specified ambiguously 2 times
@mmastrac mmastrac changed the title Two long options can result in "specified ambiguously" error (Javascript) Two long options can result in "specified ambiguously" error Jan 2, 2015
@arikon
Copy link

arikon commented Mar 5, 2015

Do you plan to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants