diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-02-07 20:29:53 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-02-07 20:29:53 +0200 |
commit | 548e46e7de424c06743d844fc35b091982d5bee5 (patch) | |
tree | 9e6e118d80a6e2d3fa52fca87c16ea453b378f58 /doc/cflow.texi | |
parent | 4be79061e8f68f6e3174a05452d96f31e8062464 (diff) | |
download | cflow-548e46e7de424c06743d844fc35b091982d5bee5.tar.gz cflow-548e46e7de424c06743d844fc35b091982d5bee5.tar.bz2 |
Use exit codes consistently.
* doc/cflow.1: Document exit codes.
* doc/cflow.texi: Likewise.
* src/cflow.h: Define exit code constants.
* src/main.c: Use exit codes consistently.
* src/output.c: Likewise.
* src/parser.c: Likewise.
* src/posix.c: Likewise.
* src/rc.c: Likewise.
Diffstat (limited to 'doc/cflow.texi')
-rw-r--r-- | doc/cflow.texi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/cflow.texi b/doc/cflow.texi index a9f2313..cb9326c 100644 --- a/doc/cflow.texi +++ b/doc/cflow.texi @@ -75,6 +75,7 @@ documents GNU cflow Version @value{VERSION}. * Configuration:: Configuration Files and Variables. * Makefiles:: Using @command{cflow} in Makefiles. * Options:: Complete Listing of @command{cflow} Options. +* Exit Codes:: Exit Codes, * Emacs:: Using @command{cflow} with GNU Emacs. * Reporting Bugs:: How to Report a Bug. @@ -1449,6 +1450,21 @@ sources. Print program version. @end table +@node Exit Codes +@chapter Exit Codes +@cindex exit codes + +@table @asis +@item 0 +Successful completion. +@item 1 +Fatal error occurred. +@item 2 +Some input files cannot be read or parsed. +@item 3 +Command line usage error. +@end table + @node Emacs @chapter Using @command{cflow} with GNU Emacs. @cindex cflow-mode introduced |