X-Git-Url: https://git.cworth.org/git?p=obsolete%2Fnotmuch-old;a=blobdiff_plain;f=man%2Fman1%2Fnotmuch-count.1;h=c172a225831fdbb455ecf79a966159d8dbd939d0;hp=c04783936569cbae56b6e586e7d1259370e31254;hb=1e690347a7dab5ca3e10ea80b75a20de9205981d;hpb=c48797b498ba8dc46fb323a8a7f2cde4d41d3123 diff --git a/man/man1/notmuch-count.1 b/man/man1/notmuch-count.1 index c0478393..c172a225 100644 --- a/man/man1/notmuch-count.1 +++ b/man/man1/notmuch-count.1 @@ -1,6 +1,6 @@ -.TH NOTMUCH-COUNT 1 2011-12-04 "Notmuch 0.10.2" +.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 @@ -15,6 +15,9 @@ The number of matching messages (or threads) is output to stdout. With no search terms, a count of all messages (or threads) in the database will be displayed. +See \fBnotmuch-search-terms\fR(7) +for details of the supported syntax for . + Supported options for .B count include @@ -35,5 +38,41 @@ Output the number of matching messages. This is the default. Output the number of matching threads. .RE .RE + +.RS 4 +.TP 4 +.BR \-\-exclude=(true|false) + +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 + +.SH SEE ALSO + +\fBnotmuch\fR(1), \fBnotmuch-config\fR(1), \fBnotmuch-dump\fR(1), +\fBnotmuch-hooks\fR(5), \fBnotmuch-insert\fR(1), \fBnotmuch-new\fR(1), +\fBnotmuch-reply\fR(1), \fBnotmuch-restore\fR(1), \fBnotmuch-search\fR(1), +\fBnotmuch-search-terms\fR(7), \fBnotmuch-show\fR(1), +\fBnotmuch-tag\fR(1)