1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-05 00:21:15 +03:00

Make --help ASCII only, fix #127

This commit is contained in:
Simon Sapin 2013-10-14 15:07:05 +01:00
parent 57b3dd5d07
commit 4b69eaf5f8

View File

@ -74,7 +74,7 @@ def main(argv=None, stdout=None, stdin=None):
prog='weasyprint', description='Renders web pages to PDF or PNG.')
parser.add_argument('--version', action='version',
version='WeasyPrint version %s' % VERSION,
help='Print WeasyPrints version number and exit.')
help="Print WeasyPrint's version number and exit.")
parser.add_argument('-e', '--encoding',
help='Character encoding of the input')
parser.add_argument('-f', '--format', choices=['pdf', 'png'],