]> git.cworth.org Git - notmuch/commit
cli: clean up exit status code returned by the cli commands
authorJani Nikula <jani@nikula.org>
Fri, 10 Jan 2014 21:28:53 +0000 (23:28 +0200)
committerDavid Bremner <david@tethera.net>
Sat, 18 Jan 2014 18:45:26 +0000 (14:45 -0400)
commitc7453773064efbd0b2cd17b15ba483edbd28ce1e
tree00d526c4d671c4a793573fff423888d4b81beb05
parent17e44cd584017c9187860e0dc80ea407940b8939
cli: clean up exit status code returned by the cli commands

Apart from the status codes for format mismatches, the non-zero exit
status codes have been arbitrary. Make the cli consistently return
either EXIT_SUCCESS or EXIT_FAILURE.
13 files changed:
notmuch-compact.c
notmuch-config.c
notmuch-count.c
notmuch-dump.c
notmuch-insert.c
notmuch-new.c
notmuch-reply.c
notmuch-restore.c
notmuch-search.c
notmuch-setup.c
notmuch-show.c
notmuch-tag.c
notmuch.c