docopt.go icon indicating copy to clipboard operation
docopt.go copied to clipboard

fix some corner cases

Open daichao1997 opened this issue 7 years ago • 1 comments

  • 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.

daichao1997 avatar Sep 04 '18 06:09 daichao1997

Coverage Status

Coverage increased (+0.1%) to 88.394% when pulling 3fc2b3db750dd26e1faa5fada8ef35c76f55550c on daichao1997:master into ee0de3bc6815ee19d4a46c7eb90f829db0e014b1 on docopt:master.

coveralls avatar Sep 04 '18 07:09 coveralls