notmuch search: Avoid infinite stream of exceptions from "notmuch search"
authorCarl Worth <cworth@cworth.org>
Wed, 18 Nov 2009 11:29:30 +0000 (03:29 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 18 Nov 2009 11:29:30 +0000 (03:29 -0800)
commit306635c27d1ca46a51d354235f3e0c6ec4b65de6
tree60919c958b7b8394b20c1704589aa1a87bfe8bbd
parent26a4741b9cb75b55b0284cd16c91379aa6b96882
notmuch search: Avoid infinite stream of exceptions from "notmuch search"

That is, give a nice error message and exit if no search terms are
provided. Thanks to Priit Laes <plaes@plaes.org> for reporting the
error and providing an early version of the fix.
notmuch-search.c