Fix default of --producer argument in --help output to include version

This commit is contained in:
Johannes 'josch' Schauer 2017-01-20 04:46:26 +01:00
parent e4b6854eb5
commit ef36e86a46

View file

@ -1607,7 +1607,8 @@ values set via the --border option.
metaargs.add_argument(
'--producer', metavar='producer', type=str,
default="img2pdf " + __version__,
help='Sets the producer metadata value (default is: img2pdf)')
help='Sets the producer metadata value '
'(default is: img2pdf ' + __version__ + ')')
metaargs.add_argument(
'--creationdate', metavar='creationdate', type=valid_date,
help='Sets the UTC creation date metadata value in YYYY-MM-DD or '