From: David Bremner <david@tethera.net>
Date: Sat, 26 Nov 2016 02:40:37 +0000 (-0400)
Subject: cli/new: document new exit code
X-Git-Tag: 0.23.3~4
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=0ca79007275ef6430d7f791b1161e39827139c87;p=notmuch

cli/new: document new exit code

It seems important to give the numeric return code for people writing
scripts. Hopefully deviations from this convention are rare.
---

diff --git a/doc/man1/notmuch-new.rst b/doc/man1/notmuch-new.rst
index 787ed78f..7f0b2237 100644
--- a/doc/man1/notmuch-new.rst
+++ b/doc/man1/notmuch-new.rst
@@ -43,6 +43,14 @@ Supported options for **new** include
     ``--quiet``
         Do not print progress or results.
 
+EXIT STATUS
+===========
+
+This command supports the following special exit status code
+
+``75 (EX_TEMPFAIL)``
+    A temporary failure occured; the user is invited to retry.
+
 SEE ALSO
 ========