aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFJob_argv.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-02-01 00:40:04 +0100
committerJay Berkenbilt <ejb@ql.org>2022-02-01 00:40:11 +0100
commit5953116634660065510fa5892fcc42d0a3c5e725 (patch)
tree0388adeec8c4caaf0848d316d704e1db95229b86 /libqpdf/QPDFJob_argv.cc
parent606420ab5432e6b1dff33798e8ff8572a3ea226a (diff)
downloadqpdf-5953116634660065510fa5892fcc42d0a3c5e725.tar.zst
Clean up documentation and help around json options
Diffstat (limited to 'libqpdf/QPDFJob_argv.cc')
-rw-r--r--libqpdf/QPDFJob_argv.cc23
1 files changed, 1 insertions, 22 deletions
diff --git a/libqpdf/QPDFJob_argv.cc b/libqpdf/QPDFJob_argv.cc
index 66ae02a5..ed37dbce 100644
--- a/libqpdf/QPDFJob_argv.cc
+++ b/libqpdf/QPDFJob_argv.cc
@@ -158,28 +158,7 @@ ArgParser::argCopyright()
void
ArgParser::argJsonHelp()
{
- // Make sure the output looks right on an 80-column display.
- // 1 2 3 4 5 6 7 8
- // 12345678901234567890123456789012345678901234567890123456789012345678901234567890
- std::cout
- << "The json block below contains the same structure with the same keys as the"
- << std::endl
- << "json generated by qpdf. In the block below, the values are descriptions of"
- << std::endl
- << "the meanings of those entries. The specific contract guaranteed by qpdf in"
- << std::endl
- << "its json representation is explained in more detail in the manual. You can"
- << std::endl
- << "specify a subset of top-level keys when you invoke qpdf, but the \"version\""
- << std::endl
- << "and \"parameters\" keys will always be present. Note that the \"encrypt\""
- << std::endl
- << "key's values will be populated for non-encrypted files. Some values will"
- << std::endl
- << "be null, and others will have values that apply to unencrypted files."
- << std::endl
- << QPDFJob::json_out_schema_v1()
- << std::endl;
+ std::cout << QPDFJob::json_out_schema_v1() << std::endl;
}
void