aboutsummaryrefslogtreecommitdiffhomepage
path: root/man
diff options
context:
space:
mode:
authorGravatar Jani Nikula <jani@nikula.org>2013-03-31 12:46:01 +0300
committerGravatar David Bremner <bremner@unb.ca>2013-04-01 09:38:32 -0400
commit1abd795677fd757bb6c3eaf6454967668da3c616 (patch)
tree6d04fd4f87fcb750da1d6d5f2b48258b31492046 /man
parentc6265706e8c0981c48536567c2d69d64aef2e55d (diff)
man: document notmuch count --batch and --input options
Diffstat (limited to 'man')
-rw-r--r--man/man1/notmuch-count.120
1 files changed, 20 insertions, 0 deletions
diff --git a/man/man1/notmuch-count.1 b/man/man1/notmuch-count.1
index 86a67fe2..7fc4378a 100644
--- a/man/man1/notmuch-count.1
+++ b/man/man1/notmuch-count.1
@@ -46,6 +46,26 @@ 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