]> git.notmuchmail.org Git - notmuch/commitdiff
man: document notmuch count --batch and --input options
authorJani Nikula <jani@nikula.org>
Sun, 31 Mar 2013 09:46:01 +0000 (12:46 +0300)
committerDavid Bremner <bremner@unb.ca>
Mon, 1 Apr 2013 13:38:32 +0000 (09:38 -0400)
man/man1/notmuch-count.1

index 86a67fe21f3a4ddfeffb6b5537853adbdf06aa25..7fc4378ae4bdb9bdb552c9b7c597820a08acee90 100644 (file)
@@ -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
 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
 
 .RE
 .RE