diff options
author | Martin Quinson <martin.quinson@loria.fr> | 2013-12-17 15:03:51 +0100 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2013-12-17 15:03:51 +0100 |
commit | 90bd0b0381f036a058679c36d9672abff88a688d (patch) | |
tree | 2c66ddcca143d15e5fbb4ab6bf334e8f2d6e4782 /doc/quilt.1.in | |
parent | 3e24a0add4202f3c52c3336800b0130b76acc651 (diff) | |
download | quilt-90bd0b0381f036a058679c36d9672abff88a688d.tar.gz |
Man page: Document exit status
Documentation update: add an EXIT STATUS section to the manual page.
Closes Debian bug #587001:
http://bugs.debian.org/587001
Diffstat (limited to 'doc/quilt.1.in')
-rw-r--r-- | doc/quilt.1.in | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/quilt.1.in b/doc/quilt.1.in index 593e665..092c0a9 100644 --- a/doc/quilt.1.in +++ b/doc/quilt.1.in @@ -1,6 +1,6 @@ .\\" Created by Martin Quinson from the tex documentation .\\" -.TH quilt 1 "Dec 8, 2013" "quilt" +.TH quilt 1 "Dec 17, 2013" "quilt" .SH NAME quilt \\- tool to manage series of patches @@ -122,6 +122,16 @@ file. Print the version number and exit immediately. +.SH EXIT STATUS + +The exit status is 0 if the sub-command was successfully executed, and +1 in case of error. + +An exit status of 2 denotes that quilt did not do anything to complete +the command. This happens in particular when asking to push when the +whole stack is already pushed, or asking to pop when the whole stack +is already popped. This behavior is intended to ease the scripting +around quilt. .SH EXAMPLE OF WORKING TREE |