]> git.cworth.org Git - obsolete/notmuch-old/commit
show: Allow formatters to return errors
authorAustin Clements <amdragon@MIT.EDU>
Tue, 6 Mar 2012 18:48:39 +0000 (18:48 +0000)
committerDavid Bremner <bremner@debian.org>
Sun, 18 Mar 2012 12:14:21 +0000 (09:14 -0300)
commit6a4df1b796ea82545fa0861d341aa6769f72ac02
treecd90a5caeb06f862869b5115fbacc7bc77ced69b
parent046ab77b1045596ab225296987401fe95eb2fe13
show: Allow formatters to return errors

Formatter errors are propagated to the exit status of notmuch show.

This isn't used by the JSON or text formatters, but it will be useful
for the raw format, which is pickier.
notmuch-client.h
notmuch-show.c