-.TH NOTMUCH-COUNT 1 2012-05-25 "Notmuch 0.13.1"
+.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
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