diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-01-28 13:48:22 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-01-30 19:11:03 +0100 |
commit | 0e909bab8e6eabb96b0bbe8063138d04d5a4ac7f (patch) | |
tree | eee6fd3b83f4176d934ccc537956a346b57db546 /libqpdf | |
parent | 0364024781ffa709a1a86ae9c6638f71df0317ca (diff) | |
download | qpdf-0e909bab8e6eabb96b0bbe8063138d04d5a4ac7f.tar.zst |
Improve top-level help information
Diffstat (limited to 'libqpdf')
-rw-r--r-- | libqpdf/QPDFArgParser.cc | 2 | ||||
-rw-r--r-- | libqpdf/qpdf/auto_job_help.hh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libqpdf/QPDFArgParser.cc b/libqpdf/QPDFArgParser.cc index 4018d4e1..194f5b16 100644 --- a/libqpdf/QPDFArgParser.cc +++ b/libqpdf/QPDFArgParser.cc @@ -920,7 +920,7 @@ QPDFArgParser::getTopHelp(std::ostringstream& msg) msg << "Run \"" << this->m->whoami << " --help=topic\" for help on a topic." << std::endl << "Run \"" << this->m->whoami - << " --help=option\" for help on an option." << std::endl + << " --help=--option\" for help on an option." << std::endl << "Run \"" << this->m->whoami << " --help=all\" to see all available help." << std::endl << std::endl diff --git a/libqpdf/qpdf/auto_job_help.hh b/libqpdf/qpdf/auto_job_help.hh index f6d9ecc5..b50025e4 100644 --- a/libqpdf/qpdf/auto_job_help.hh +++ b/libqpdf/qpdf/auto_job_help.hh @@ -8,8 +8,8 @@ static void add_help_1(QPDFArgParser& ap) ap.addHelpTopic("usage", "basic invocation", R"(Read a PDF file, apply transformations or modifications, and write a new PDF file. -Usage: qpdf infile [options] [outfile] - OR qpdf help-option +Usage: qpdf [infile] [options] [outfile] + OR qpdf --help[={topic|--option}] - infile, options, and outfile may be in any order as long as infile precedes outfile. |