From 0b2288c19d514e18449feb8f43fc1350a10241a1 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 21 Feb 2009 02:38:33 +0000 Subject: special exit status in --check mode with warnings and no errors git-svn-id: svn+q:///qpdf/trunk@650 71b93d88-0707-0410-a8cf-f5a4172ac649 --- manual/qpdf-manual.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'manual') 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 reports no errors may still have errors in stream data but - should otherwise be otherwise structurally sound. + should otherwise be otherwise structurally sound. If + any errors, qpdf will exit with a + status of 2. There are some recoverable conditions that + 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). -- cgit v1.2.3-70-g09d2