git.iko.soy/typeable/pandoc
on master help sign in
MANUAL: add section for exit codes.
5aef7d0John MacFarlane
MANUAL.txt+27
@@ -1376,6 +1376,33 @@ Options for wrapper scripts {.options}
1376
1376
1377 pandoc -o foo.html -s
1377 pandoc -o foo.html -s
1378
1378
1379+Exit codes
1380+==========
1381+
1382+If pandoc completes successfully, it will return exit code 0.
1383+Nonzero exit codes have the following meanings:
1384+
1385+ 1 PandocAppError
1386+ 2 PandocOptionError
1387+ 3 PandocFailOnWarningError
1388+ 5 PandocTemplateError
1389+ 31 PandocEpubSubdirectoryError
1390+ 43 PandocPDFError
1391+ 47 PandocPDFProgramNotFoundError
1392+ 61 PandocHttpError
1393+ 62 PandocShouldNeverHappenError
1394+ 63 PandocSomeError
1395+ 64 PandocParseError
1396+ 65 PandocParsecError
1397+ 65 PandocMakePDFError TODO DUP
1398+ 67 PandocSyntaxMapError
1399+ 83 PandocFilterError
1400+ 91 PandocMacroLoop
1401+ 92 PandocUTF8DecodingError
1402+ 93 PandocIpynbDecodingError
1403+ 97 PandocCouldNotFindDataFileError
1404+ 99 PandocResourceNotFound
1405+
1379Templates
1406Templates
1380=========
1407=========
1381
1408