Open jpdoyle opened 5 years ago
This is definitely a mismatch of behavior from what the original docopt intended. On incorrect arguments it should print only the usage section without the options section. The options section should only be included as an output if someone types --help
in the example link.
Consider this example.
Per the reference implementation, an incorrect sequence of arguments should output the brief usage description. I adapted the example from the readme:
However, when I execute it with no arguments I get:
instead of the expected: