X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;ds=sidebyside;f=man%2Fman1%2Fnotmuch-count.1;h=7fc4378ae4bdb9bdb552c9b7c597820a08acee90;hb=f0dfda5c7797f9db81ce35d270fe0ac406c7fca1;hp=302a7fa7152db6b8f25e05a04fae2fea855896f4;hpb=fc4e5248d29cf7264481cbff82343eade5fcc2ca;p=notmuch diff --git a/man/man1/notmuch-count.1 b/man/man1/notmuch-count.1 index 302a7fa7..7fc4378a 100644 --- a/man/man1/notmuch-count.1 +++ b/man/man1/notmuch-count.1 @@ -1,6 +1,6 @@ -.TH NOTMUCH-COUNT 1 2012-03-18 "Notmuch 0.12~rc2" +.TH NOTMUCH-COUNT 1 2013-02-17 "Notmuch 0.15.2" .SH NAME -notmuch-count \- Count messages matching the given search terms. +notmuch-count \- count messages matching the given search terms .SH SYNOPSIS .B notmuch count @@ -41,10 +41,31 @@ Output the number of matching threads. .RS 4 .TP 4 -.BR \-\-no\-exclude +.BR \-\-exclude=(true|false) -Do not exclude the messages matching search.exclude_tags in the config file. +Specify whether to omit messages matching search.tag_exclude from the +count (the default) or not. .RE + +.RS 4 +.TP 4 +.BR \-\-batch + +Read queries from a file (stdin by default), one per line, and output +the number of matching messages (or threads) to stdout, one per +line. On an empty input line the count of all messages (or threads) in +the database will be output. This option is not compatible with +specifying search terms on the command line. +.RE + +.RS 4 +.TP 4 +.BR "\-\-input=" + +Read input from given file, instead of from stdin. Implies +.BR --batch . +.RE + .RE .RE