Permalink
Browse files

Merge pull request #62 from njoh/master

strip()ing usage message ruins ascii art
  • Loading branch information...
2 parents 78d38ee + a930579 commit d314e7b9f999f756dc695ee0dc97ff5218957f66 @keleshev keleshev committed Oct 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docopt.py
View
@@ -429,7 +429,7 @@ def formal_usage(printable_usage):
def extras(help, version, options, doc):
if help and any((o.name in ('-h', '--help')) and o.value for o in options):
- print(doc.strip())
+ print(doc.strip("\n"))
sys.exit()
if version and any(o.name == '--version' and o.value for o in options):
print(version)

0 comments on commit d314e7b

Please sign in to comment.