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

Jani Nikula jani at nikula.org
Sun Jan 13 06:41:28 PST 2013


On Jan 13, 2013 4:37 PM, "David Bremner" <david at tethera.net> wrote:
>
> 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.

And distinct codes for warnings and errors... but can't have everything at
once...

J.

> d
> _______________________________________________
> notmuch mailing list
> notmuch at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20130113/0d19dea4/attachment.html>


More information about the notmuch mailing list