1
0
Fork 0
forked from josch/img2pdf

Put version string in /Producer too

This commit is contained in:
James R. Barlow 2016-02-12 04:55:58 -08:00 committed by Johannes 'josch' Schauer
parent 11affb6264
commit a7dba2894f

View file

@ -1419,7 +1419,8 @@ values set via the --border option.
'--creator', metavar='creator', type=str, '--creator', metavar='creator', type=str,
help='Sets the creator metadata value') help='Sets the creator metadata value')
metaargs.add_argument( metaargs.add_argument(
'--producer', metavar='producer', type=str, default="img2pdf", '--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)')
metaargs.add_argument( metaargs.add_argument(
'--creationdate', metavar='creationdate', type=valid_date, '--creationdate', metavar='creationdate', type=valid_date,