From a7dba2894ff11772421c752bedec67e8887cb026 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Fri, 12 Feb 2016 04:55:58 -0800 Subject: [PATCH] Put version string in /Producer too --- src/img2pdf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/img2pdf.py b/src/img2pdf.py index ceae826..7d24556 100755 --- a/src/img2pdf.py +++ b/src/img2pdf.py @@ -1419,7 +1419,8 @@ values set via the --border option. '--creator', metavar='creator', type=str, help='Sets the creator metadata value') 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)') metaargs.add_argument( '--creationdate', metavar='creationdate', type=valid_date,