diff options
author | Jay Berkenbilt <ejb@ql.org> | 2009-02-21 03:38:33 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2009-02-21 03:38:33 +0100 |
commit | 0b2288c19d514e18449feb8f43fc1350a10241a1 (patch) | |
tree | 828db178f3c157f292ffa8af2b147a4d038e13dc /manual | |
parent | 4499e04b5714747eb954420f8133e650a5137d45 (diff) | |
download | qpdf-0b2288c19d514e18449feb8f43fc1350a10241a1.tar.zst |
special exit status in --check mode with warnings and no errors
git-svn-id: svn+q:///qpdf/trunk@650 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'manual')
-rw-r--r-- | manual/qpdf-manual.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml index 442285df..35e6aa81 100644 --- a/manual/qpdf-manual.xml +++ b/manual/qpdf-manual.xml @@ -741,7 +741,13 @@ make Checks file structure and well as encryption and linearization. A file for which <option>--check</option> reports no errors may still have errors in stream data but - should otherwise be otherwise structurally sound. + should otherwise be otherwise structurally sound. If + <option>--check</option> any errors, qpdf will exit with a + status of 2. There are some recoverable conditions that + <option>--check</option> detects. These are issued as + warnings instead of errors. If qpdf finds no errors but finds + warnings, it will exit with a status of 3 (as of + version 2.0.4). </para> </listitem> </varlistentry> |