summaryrefslogtreecommitdiff
path: root/notmuch.1
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-04-09 16:57:07 -0700
committerCarl Worth <cworth@cworth.org>2010-04-09 17:44:01 -0700
commit3780572bb31c394a14e15bbfc3e113978eec7188 (patch)
tree852a6459c9848db2220ac8897ae9d513ee1222fe /notmuch.1
parentd55d31d3428189aa6ab98ebc96a69064cb99eafd (diff)
nomtuch.1: Add documentation for "notmuch count"
Somehow this has been missing from our manual. Add it now.
Diffstat (limited to 'notmuch.1')
-rw-r--r--notmuch.112
1 files changed, 11 insertions, 1 deletions
diff --git a/notmuch.1 b/notmuch.1
index 96fd242..86830f4 100644
--- 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