-
Notifications
You must be signed in to change notification settings - Fork 16
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
The try.docopt.org site does not process repeating positional arguments properly #2
Comments
That's true. Thanks for reporting. So far I haven't figured where's the problem. |
So apparently docopt doesn't work well when argv is a unicode string. I'm pushing a quick fix to this repo, but I need to think more about if it is a problem for docopt itself. |
Awesome ...thanks ..I'll clone the repo afresh. Hari
|
Nope, the error is in docopt as well:
But the error manifests itself only when docopt is passed unicode strings, which does not happen at the command line. |
Hi This is an issue in only the browser based trial. For a command like
Usage:
pdb_prepare ... --ref=reference.pdb [--desc]"
If you give the above doc string repeat arguments to test it with for eg.
file1.pdb file2.pdb file4.pdb --ref=test.pdb
The result displayed in the browser has the file positional argument without any spaces.
"": "file1.pdbfile2.pdbfile4.pdb"}
Instead of
'': ['file1.pdb', 'file2.pdb', 'file4.pdb'],
Not an issue with the actual module though.
The text was updated successfully, but these errors were encountered: