From ef36e86a4672b109610327216ea797a19c8f51c4 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Fri, 20 Jan 2017 04:46:26 +0100 Subject: [PATCH] Fix default of --producer argument in --help output to include version --- src/img2pdf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/img2pdf.py b/src/img2pdf.py index 3c3235d..d979376 100755 --- a/src/img2pdf.py +++ b/src/img2pdf.py @@ -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 '