]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch.1
TODO: Add two tasks that both have to do with auditing the library API
[notmuch] / 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