docopt.go
docopt.go copied to clipboard
fix some corner cases
-
parseDefaults: Now we can find the last
options:string and ignore all text before it - parseOption: Now we can use both tabs and spaces to separate options from their descriptions. I used to stuck for a long time just because I used tabs (instead of spaces) to align my descriptions.