]> git.notmuchmail.org Git - notmuch/commitdiff
cli: make the command line parser's errors more informative.
authorMark Walters <markwalters1009@gmail.com>
Tue, 5 Jun 2012 14:36:36 +0000 (15:36 +0100)
committerDavid Bremner <bremner@debian.org>
Sun, 2 Sep 2012 02:03:36 +0000 (23:03 -0300)
Previously, the cli parser was a little erratic in what errors it
reported and would fail silently in many cases (for example, when no
argument was passed to an integer option). This was particularly
annoying as the user could not (easily) tell whether the command
failed or just there were no search results.

This patch tries to make the handling consistent and return a helpful
error message in all cases.


No differences found