summaryrefslogtreecommitdiffstats
path: root/qpdf
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2021-12-04 16:27:25 +0100
committerJay Berkenbilt <jberkenbilt@users.noreply.github.com>2021-12-09 16:24:14 +0100
commit0c705a882bd12b90d08a11ea6d40152f95b8aa96 (patch)
tree791d1539f2fc274ba4a78416054a8ee443226b57 /qpdf
parentb4fc9eb700672b35b023e0ff4d43e3c6ba39bf20 (diff)
downloadqpdf-0c705a882bd12b90d08a11ea6d40152f95b8aa96.tar.zst
Minor documentation updates
Diffstat (limited to 'qpdf')
-rw-r--r--qpdf/qpdf.cc6
-rw-r--r--qpdf/qtest/qpdf/split-pages-stdout.out2
2 files changed, 4 insertions, 4 deletions
diff --git a/qpdf/qpdf.cc b/qpdf/qpdf.cc
index 8e91e20b..c336455b 100644
--- a/qpdf/qpdf.cc
+++ b/qpdf/qpdf.cc
@@ -1300,7 +1300,7 @@ ArgParser::argCopyright()
<< std::endl
<< "QPDF is licensed under the Apache License, Version 2.0 (the \"License\");"
<< std::endl
- << "not use this file except in compliance with the License."
+ << "you may not use this file except in compliance with the License."
<< std::endl
<< "You may obtain a copy of the License at"
<< std::endl
@@ -1334,7 +1334,7 @@ ArgParser::argHelp()
{
std::cout
// 12345678901234567890123456789012345678901234567890123456789012345678901234567890
- << "Usage: qpdf [ options ] { infilename | --empty } [ outfilename ]\n"
+ << "Usage: qpdf [options] {infile | --empty} [page_selection_options] outfile\n"
<< "\n"
<< "An option summary appears below. Please see the documentation for details.\n"
<< "\n"
@@ -3114,7 +3114,7 @@ void usageExit(std::string const& msg)
<< std::endl
<< whoami << ": " << msg << std::endl
<< std::endl
- << "Usage: " << whoami << " [options] infile outfile" << std::endl
+ << "Usage: " << whoami << " [options] {infile | --empty} [page_selection_options] outfile" << std::endl
<< "For detailed help, run " << whoami << " --help" << std::endl
<< std::endl;
exit(EXIT_ERROR);
diff --git a/qpdf/qtest/qpdf/split-pages-stdout.out b/qpdf/qtest/qpdf/split-pages-stdout.out
index fb14eaa9..415ad2df 100644
--- a/qpdf/qtest/qpdf/split-pages-stdout.out
+++ b/qpdf/qtest/qpdf/split-pages-stdout.out
@@ -1,6 +1,6 @@
qpdf: --split-pages may not be used when writing to standard output
-Usage: qpdf [options] infile outfile
+Usage: qpdf [options] {infile | --empty} [page_selection_options] outfile
For detailed help, run qpdf --help