]> git.notmuchmail.org Git - notmuch/blobdiff - man/man1/notmuch-count.1
version: set new version and release date
[notmuch] / man / man1 / notmuch-count.1
index 8551ab2c96e75a6463481bf7d6a92dd4142b0a67..c759712d69e8e542ee3dd9200570557757b750df 100644 (file)
@@ -1,4 +1,4 @@
-.TH NOTMUCH-COUNT 1 2012-06-01 "Notmuch 0.13.2"
+.TH NOTMUCH-COUNT 1 2013-07-28 "Notmuch 0.16"
 .SH NAME
 notmuch-count \- count messages matching the given search terms
 .SH SYNOPSIS
@@ -46,13 +46,33 @@ Output the number of matching threads.
 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=" <filename>
+
+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-new\fR(1), \fBnotmuch-reply\fR(1),
-\fBnotmuch-restore\fR(1), \fBnotmuch-search\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)