X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.c;h=72ca62044e90a2a3ccd2a0cee493f81141504fa4;hp=d84cea595202f21227ca529728bf9237cbbb576b;hb=53f8cc565126db4a003dbfc02850d2bf3b260636;hpb=43daa6f070f962959bf26fa49a860f528b2bbfa1 diff --git a/notmuch.c b/notmuch.c index d84cea59..72ca6204 100644 --- a/notmuch.c +++ b/notmuch.c @@ -187,6 +187,17 @@ command_t commands[] = { "\n" "\t\tSee \"notmuch help search-terms\" for details of the search\n" "\t\tterms syntax." }, + { "count", notmuch_count_command, + " [...]", + "\t\tCount messages matching the search terms.", + "\t\tThe number of matching messages is output to stdout.\n" + "\n" + "\t\tA common use of \"notmuch count\" is to display the count\n" + "\t\tof messages matching both a specific tag and either inbox\n" + "\t\tor unread\n" + "\n" + "\t\tSee \"notmuch help search-terms\" for details of the search\n" + "\t\tterms syntax." }, { "reply", notmuch_reply_command, " [...]", "\t\tConstruct a reply template for a set of messages.",