]> git.notmuchmail.org Git - notmuch/commit - man/man1/notmuch-search.1
cli: move search to the new --exclude= naming scheme.
authorMark Walters <markwalters1009@gmail.com>
Sat, 7 Apr 2012 16:10:05 +0000 (17:10 +0100)
committerDavid Bremner <bremner@debian.org>
Sun, 8 Apr 2012 02:05:41 +0000 (23:05 -0300)
commitfd62a25f91c6ecdd6d60c86b4439321b8e84b309
tree948fca44eec306b4836040f8b887827cf40f2ed0
parent785c1e497f05cb89365669fea33cfbf9078a4b12
cli: move search to the new --exclude= naming scheme.

This commit replaces the --no-exclude option with a
--exclude=(true|false|flag) option. The default is to omit the
excluded messages.

The flag option only makes sense if output=summary (as otherwise there
is nowhere to print the flag). In summary output exclude=false and
exclude=flag give almost identical output:
they differ in that with the exclude=flag option the match count
(i.e., the x in [x/n] in the output) is the number of matching
non-excluded messages rather than the number of matching messages.

Note this changes the default for output=summary when no --exclude=
option is given: it used to default to flag and now defaults to true
(i.e. omit excluded messages). This is neccesary to keep the cli
output uncluttered and for speed reasons.
man/man1/notmuch-search.1
notmuch-search.c