pdf-merge.py: Add KEYWORD metavar for --keyword.
authorW. Trevor King <wking@tremily.us>
Tue, 29 Jan 2013 18:09:15 +0000 (13:09 -0500)
committerW. Trevor King <wking@tremily.us>
Tue, 29 Jan 2013 18:09:15 +0000 (13:09 -0500)
This should make the `--keyword KW1 --keyword KW2 ...` usage more
obvious.

posts/PDF_bookmarks_with_Ghostscript/pdf-merge.py

index 4751b2f1f49522cbf6741f3f86704aae54d2a4e7..1d05acc0f399b8d34c96a0229143b09ec9030cc1 100755 (executable)
@@ -381,7 +381,8 @@ if __name__ == '__main__':
                         help='title of output PDF')
     parser.add_argument('--author', dest='author',
                         help='author of output PDF')
-    parser.add_argument('--keyword', dest='keywords', action='append',
+    parser.add_argument('--keyword', metavar='KEYWORD', dest='keywords',
+                        action='append',
                         help='keywords for the output PDF')
     parser.add_argument('--pdftk', dest='pdftk', default=PDFTK,
                         help='path to the pdftk executable')