You can clone with
HTTPS or Subversion.
Using 0.3, this docstring:
when given no arguments, show the usage text. I would expect it to return a dictionary if no options set.
Thanks for reporting!
This bug was fixed some time ago, thanks to @Met48. Here is my conversation with docopt version 0.4.1:
>>> from docopt import docopt
>>> usage = """Usage:
... script --flag
>>> docopt(usage, argv=)
If you have any further suggestions—you are welcome.
I just realized that this only works on master branch, but not in any PyPI release, so I mark this as bug in order not to forget making a new tag 0.4.2 and push it to PyPI.