]> git.notmuchmail.org Git - notmuch/blob - man/man1/notmuch-count.1
initial splitting of notmuch.1
[notmuch] / man / man1 / notmuch-count.1
1 .TH NOTMUCH-COUNT 1 2011-12-04 "Notmuch 0.10.2"
2 .SH NAME
3 notmuch-count \- Count messages matching the given search terms.
4 .SH SYNOPSIS
5
6 .B notmuch count
7 .RI  [ options "... ] <" search-term ">..."
8
9 .SH DESCRIPTION
10
11 Count messages matching the search terms.
12
13 The number of matching messages (or threads) is output to stdout.
14
15 With no search terms, a count of all messages (or threads) in the database will
16 be displayed.
17
18 Supported options for
19 .B count
20 include
21 .RS 4
22 .TP 4
23 .B \-\-output=(messages|threads)
24
25 .RS 4
26 .TP 4
27 .B messages
28
29 Output the number of matching messages. This is the default.
30 .RE
31 .RS 4
32 .TP 4
33 .B threads
34
35 Output the number of matching threads.
36 .RE
37 .RE
38 .RE
39 .RE