summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/quilt.1.in12
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