projects
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8003741
)
pdf-merge.py: Add KEYWORD metavar for --keyword.
author
W. Trevor King
<wking@tremily.us>
Tue, 29 Jan 2013 18:09:15 +0000
(13:09 -0500)
committer
W. 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
patch
|
blob
|
history
diff --git
a/posts/PDF_bookmarks_with_Ghostscript/pdf-merge.py
b/posts/PDF_bookmarks_with_Ghostscript/pdf-merge.py
index 4751b2f1f49522cbf6741f3f86704aae54d2a4e7..1d05acc0f399b8d34c96a0229143b09ec9030cc1 100755
(executable)
--- 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')