Re: [PATCH] cli/new: document new exit code
On Sat, 26 Nov 2016, David Bremner wrote: > It seems important to give the numeric return code for people writing > scripts. Hopefully deviations from this convention are rare. *blush* As a token of my gratitude, a test for the change follows. I'm not sure if it's quite ready for merging, but the ground work is there. Thanks, Jani. ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch
[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 787ed78..7f0b223 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.10.2 ___ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch