cli: make sure notmuch new and insert don't add invalid tags
authorJani Nikula <jani@nikula.org>
Sun, 23 Feb 2014 16:55:22 +0000 (18:55 +0200)
committerDavid Bremner <david@tethera.net>
Thu, 6 Mar 2014 11:42:10 +0000 (07:42 -0400)
commite8ec38c25afefacff8c2adb6e4f9e53df9870746
treeb099b7a4deeb21db5d0a0e7e32b762fe23419352
parent07dd9d53cb7d92dc42ef697edb65e4c491b65928
cli: make sure notmuch new and insert don't add invalid tags

Check new.tags configuration values before doing anything, and bail
out on invalid values.
notmuch-insert.c
notmuch-new.c