[PATCH 1/1] cli: propagate batch tagging warnings to exit value

David Bremner david at tethera.net
Sun Jan 13 06:37:39 PST 2013


Tomi Ollila <tomi.ollila at iki.fi> writes:

> 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.

This looks OK. In a perfect world we'd have a test for return values.

d


More information about the notmuch mailing list