summaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/auto_job_help.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-05-06 23:29:22 +0200
committerJay Berkenbilt <ejb@ql.org>2022-05-07 14:26:31 +0200
commitb361c5ce19a05ce8da60c767651521a9ce0210e5 (patch)
tree393a50f550bc03a79d74a9b8bc12635215a53dcd /libqpdf/qpdf/auto_job_help.hh
parent7604ac5cb2a4756337ed562d2e3284de3e6a8159 (diff)
downloadqpdf-b361c5ce19a05ce8da60c767651521a9ce0210e5.tar.zst
Add --test-json-schema command-line option
Diffstat (limited to 'libqpdf/qpdf/auto_job_help.hh')
-rw-r--r--libqpdf/qpdf/auto_job_help.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/libqpdf/qpdf/auto_job_help.hh b/libqpdf/qpdf/auto_job_help.hh
index 388b861f..55d2cc63 100644
--- a/libqpdf/qpdf/auto_job_help.hh
+++ b/libqpdf/qpdf/auto_job_help.hh
@@ -835,6 +835,12 @@ Write the first pass of linearization to the named file. The
resulting file is not a valid PDF file. This option is useful only
for debugging qpdf.
)");
+ap.addOptionHelp("--test-json-schema", "testing", "test generated json against schema", R"(This is used by qpdf's test suite to check consistency between
+the output of qpdf --json and the output of qpdf --json-help.
+)");
+}
+static void add_help_8(QPDFArgParser& ap)
+{
}
static void add_help(QPDFArgParser& ap)
{
@@ -845,6 +851,7 @@ static void add_help(QPDFArgParser& ap)
add_help_5(ap);
add_help_6(ap);
add_help_7(ap);
+ add_help_8(ap);
ap.addHelpFooter("For detailed help, visit the qpdf manual: https://qpdf.readthedocs.io\n");
}