docopt.sh
docopt.sh copied to clipboard
Parse failure when calling `Usage: test [ARG1] ARG2` with `test arg`
The DOC Usage: test [ARG1] ARG2 fails to parse the command test arg, likely because [ARG1] consumes arg and ARG2 then fails.
Workaround: Usage (ARG1 ARG2|ARG2)