aboutsummaryrefslogtreecommitdiffhomepage
path: root/man/man1/notmuch-count.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/man1/notmuch-count.1')
-rw-r--r--man/man1/notmuch-count.139
1 files changed, 39 insertions, 0 deletions
diff --git a/man/man1/notmuch-count.1 b/man/man1/notmuch-count.1
new file mode 100644
index 00000000..c0478393
--- /dev/null
+++ b/man/man1/notmuch-count.1
@@ -0,0 +1,39 @@
+.TH NOTMUCH-COUNT 1 2011-12-04 "Notmuch 0.10.2"
+.SH NAME
+notmuch-count \- Count messages matching the given search terms.
+.SH SYNOPSIS
+
+.B notmuch count
+.RI [ options "... ] <" search-term ">..."
+
+.SH DESCRIPTION
+
+Count messages matching the search terms.
+
+The number of matching messages (or threads) is output to stdout.
+
+With no search terms, a count of all messages (or threads) in the database will
+be displayed.
+
+Supported options for
+.B count
+include
+.RS 4
+.TP 4
+.B \-\-output=(messages|threads)
+
+.RS 4
+.TP 4
+.B messages
+
+Output the number of matching messages. This is the default.
+.RE
+.RS 4
+.TP 4
+.B threads
+
+Output the number of matching threads.
+.RE
+.RE
+.RE
+.RE