From 0ca79007275ef6430d7f791b1161e39827139c87 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Fri, 25 Nov 2016 22:40:37 -0400 Subject: [PATCH] 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. --- doc/man1/notmuch-new.rst | 8 ++++++++ 1 file changed, 8 insertions(+) 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 ======== -- 2.26.2