aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-09-12 08:35:21 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-09-12 08:36:49 -0700
commit5aef7d04f03ff3abbe621f0a4364ecef06145c9b (patch)
tree3e5f9a2d5b139e97f89ff8c836bce3bb7a1b7f6c
parent88dc6fac5d2d6f494e9c334261ecb40d3e156667 (diff)
downloadpandoc-5aef7d04f03ff3abbe621f0a4364ecef06145c9b.tar.gz
MANUAL: add section for exit codes.
-rw-r--r--MANUAL.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 28030ae46..93ecbc1b9 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -1376,6 +1376,33 @@ Options for wrapper scripts {.options}
pandoc -o foo.html -s
+Exit codes
+==========
+
+If pandoc completes successfully, it will return exit code 0.
+Nonzero exit codes have the following meanings:
+
+ 1 PandocAppError
+ 2 PandocOptionError
+ 3 PandocFailOnWarningError
+ 5 PandocTemplateError
+ 31 PandocEpubSubdirectoryError
+ 43 PandocPDFError
+ 47 PandocPDFProgramNotFoundError
+ 61 PandocHttpError
+ 62 PandocShouldNeverHappenError
+ 63 PandocSomeError
+ 64 PandocParseError
+ 65 PandocParsecError
+ 65 PandocMakePDFError TODO DUP
+ 67 PandocSyntaxMapError
+ 83 PandocFilterError
+ 91 PandocMacroLoop
+ 92 PandocUTF8DecodingError
+ 93 PandocIpynbDecodingError
+ 97 PandocCouldNotFindDataFileError
+ 99 PandocResourceNotFound
+
Templates
=========