From: W. Trevor King Date: Tue, 29 Jan 2013 18:09:15 +0000 (-0500) Subject: pdf-merge.py: Add KEYWORD metavar for --keyword. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0c3b4c3de2b44d6d9546fb337107edbf451764ef;p=blog.git pdf-merge.py: Add KEYWORD metavar for --keyword. This should make the `--keyword KW1 --keyword KW2 ...` usage more obvious. --- diff --git a/posts/PDF_bookmarks_with_Ghostscript/pdf-merge.py b/posts/PDF_bookmarks_with_Ghostscript/pdf-merge.py index 4751b2f..1d05acc 100755 --- a/posts/PDF_bookmarks_with_Ghostscript/pdf-merge.py +++ b/posts/PDF_bookmarks_with_Ghostscript/pdf-merge.py @@ -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')