]> git.notmuchmail.org Git - notmuch/commit
cli: propagate batch tagging warnings to exit value
authorTomi Ollila <tomi.ollila@iki.fi>
Sat, 12 Jan 2013 07:40:14 +0000 (09:40 +0200)
committerDavid Bremner <bremner@debian.org>
Mon, 14 Jan 2013 23:47:14 +0000 (19:47 -0400)
commit4b5b6f02cc943b83270ad5061166e5d9967b2899
treecd839048d66760772eddba68649e7c3847dd9325
parentf1a355febf27de6c2bf5fec1b038af2e96f93263
cli: propagate batch tagging warnings to exit value

In case last input for batch tagging was either invalid or skippable
line, notmuch command exited with non-zero value.
After this change if there is at least one invalid line, notmuch
command will exit with non-zero value. Additionally, skipped lines
(last or other) doesn't cause non-zero value to be returned.
notmuch-tag.c