Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix some corner cases #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

daichao1997
Copy link

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

@coveralls
Copy link

Coverage Status

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

Copy link

@shakefu shakefu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like both nice quality-of-life fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants