summaryrefslogtreecommitdiffstats
path: root/qpdf/qpdf.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2020-10-15 21:03:14 +0200
committerJay Berkenbilt <ejb@ql.org>2020-10-15 21:03:14 +0200
commitbbd45cd01c5993de0970065b2bbd03aa28837b2c (patch)
tree0be4c7ecdc6e44ec6a1dfe77c91bc5604b20d9dd /qpdf/qpdf.cc
parent8f1db4dcf253386f45a3aa535c5e7144b5ca36d1 (diff)
downloadqpdf-bbd45cd01c5993de0970065b2bbd03aa28837b2c.tar.zst
Clarify qpdf's exit statuses in the documentation
Diffstat (limited to 'qpdf/qpdf.cc')
-rw-r--r--qpdf/qpdf.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpdf/qpdf.cc b/qpdf/qpdf.cc
index 4e697660..1cfbb04f 100644
--- a/qpdf/qpdf.cc
+++ b/qpdf/qpdf.cc
@@ -1621,7 +1621,8 @@ ArgParser::argHelp()
<< "Ordinarily, qpdf exits with a status of 0 on success or a status of 2\n"
<< "if any errors occurred. If there were warnings but not errors, qpdf\n"
<< "exits with a status of 3. If warnings would have been issued but --no-warn\n"
- << "was given, an exit status of 3 is still used.\n";
+ << "was given, an exit status of 3 is still used. qpdf does not use exit\n"
+ << "status 1, since that is used by the shell if it can't execute qpdf.\n";
}
void