aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-12-23 03:03:47 +0100
committerJay Berkenbilt <ejb@ql.org>2023-12-23 03:22:34 +0100
commitc0c7cef16cb666524e4809834063cfee5262eca1 (patch)
tree38cb6da6567e7cbcac97766629d568363cd9ec16 /libqpdf
parent1f4568684341ec3a0abb0c7ce72580b07b73d646 (diff)
downloadqpdf-c0c7cef16cb666524e4809834063cfee5262eca1.tar.zst
Generate a UNIX man page (fixes #874)
Diffstat (limited to 'libqpdf')
-rw-r--r--libqpdf/qpdf/auto_job_help.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/libqpdf/qpdf/auto_job_help.hh b/libqpdf/qpdf/auto_job_help.hh
index b96c2564..4a0f3a8f 100644
--- a/libqpdf/qpdf/auto_job_help.hh
+++ b/libqpdf/qpdf/auto_job_help.hh
@@ -37,10 +37,10 @@ description of the JSON input file format.
)");
ap.addHelpTopic("exit-status", "meanings of qpdf's exit codes", R"(Meaning of exit codes:
-0: no errors or warnings
-1: not used by qpdf but may be used by the shell if unable to invoke qpdf
-2: errors detected
-3: warnings detected, unless --warning-exit-0 is given
+- 0: no errors or warnings
+- 1: not used by qpdf but may be used by the shell if unable to invoke qpdf
+- 2: errors detected
+- 3: warnings detected, unless --warning-exit-0 is given
)");
ap.addOptionHelp("--warning-exit-0", "exit-status", "exit 0 even with warnings", R"(Use exit status 0 instead of 3 when warnings are present. When
combined with --no-warn, warnings are completely ignored.