]> git.notmuchmail.org Git - notmuch/commitdiff
nomtuch.1: Add documentation for "notmuch count"
authorCarl Worth <cworth@cworth.org>
Fri, 9 Apr 2010 23:57:07 +0000 (16:57 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 10 Apr 2010 00:44:01 +0000 (17:44 -0700)
Somehow this has been missing from our manual. Add it now.

notmuch.1

index 96fd2429d4945cf33416050731c796db704ab03b..86830f4b403fd0fccbbf4928f5c01565abe1d825 100644 (file)
--- a/notmuch.1
+++ b/notmuch.1
@@ -126,7 +126,7 @@ syntax. See the
 section below for more details on the supported syntax.
 
 The
-.BR search " and "show
+.BR search ", " show " and " count
 commands are used to query the email database.
 .RS 4
 .TP 4
@@ -239,6 +239,16 @@ See the
 .B "SEARCH SYNTAX"
 section below for details of the supported syntax for <search-terms>.
 .RE
+.TP
+.BR count " <search-term>..."
+
+Count messages matching the search terms.
+
+The number of matching messages is output to stdout.
+
+With no search terms, a count of all messages in the database will be
+displayed.
+.RE
 .RE
 
 The