aboutsummaryrefslogtreecommitdiffstats
path: root/qpdf/qpdf.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2019-11-09 17:54:16 +0100
committerJay Berkenbilt <ejb@ql.org>2019-11-09 19:23:12 +0100
commitc4478e5249f935abe852b11275ffe48c29d8f997 (patch)
treee797874704e755a99eb170c2d6fe0b0ace03df52 /qpdf/qpdf.cc
parentc9cc83621bf383a135699e2c952713eb592ebcb7 (diff)
downloadqpdf-c4478e5249f935abe852b11275ffe48c29d8f997.tar.zst
Allow odd/even modifiers in numeric range (fixes #364)
Diffstat (limited to 'qpdf/qpdf.cc')
-rw-r--r--qpdf/qpdf.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/qpdf/qpdf.cc b/qpdf/qpdf.cc
index 2bd98ccb..0e634412 100644
--- a/qpdf/qpdf.cc
+++ b/qpdf/qpdf.cc
@@ -1286,8 +1286,9 @@ ArgParser::argHelp()
<< "to count from the end, so \"r3-r1\" would be the last three pages of the\n"
<< "document. Pages can appear in any order. Ranges can appear with a\n"
<< "high number followed by a low number, which causes the pages to appear in\n"
- << "reverse. Repeating a number will cause an error, but the manual discusses\n"
- << "a workaround should you really want to include the same page twice.\n"
+ << "reverse. Numbers may be repeated. A page range may be appended with :odd\n"
+ << "to indicate odd pages in the selected range or :even to indicate even\n"
+ << "pages.\n"
<< "\n"
<< "If the page range is omitted, the range of 1-z is assumed. qpdf decides\n"
<< "that the page range is omitted if the range argument is either -- or a\n"