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:
parent
57b3dd5d07
commit
4b69eaf5f8
@ -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 WeasyPrint’s 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'],
|
||||
|
Loading…
Reference in New Issue
Block a user