We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
doc <- "Usage: demo1 [options] <x> <y> <z> Options: -h, --help -i, --invert " str(docopt::docopt(doc,args='1 -2 -3'))
Results in an error because it tries to treat -2 and -3 as options.
doc <- "Usage: demo2 [options] [--] <x> <y> <z> Options: -h, --help -i, --invert " str(docopt::docopt(doc,args='-- 1 -2 -3'))
Works just fine, but requires that -- be used, even when there are no options provided, which is annoying.
In the python version of docopt, there is an options_first= parameter to docopt. Can this be exposed/implemented in R?
options_first=
docopt
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Results in an error because it tries to treat -2 and -3 as options.
Works just fine, but requires that -- be used, even when there are no options provided, which is annoying.
In the python version of docopt, there is an
options_first=
parameter todocopt
. Can this be exposed/implemented in R?The text was updated successfully, but these errors were encountered: