From b15a03fafc2e313264519f030e45ea203af508e2 Mon Sep 17 00:00:00 2001 From: Mike Kelly Date: Thu, 8 Apr 2010 15:39:38 -0400 Subject: Have notmuch count default to showing the total. If no parameters are given to notmuch-count, or just '' or '*' are given, return the total number of messages in the database. update notmuch count help --- notmuch.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'notmuch.c') diff --git a/notmuch.c b/notmuch.c index f5669fc..8650951 100644 --- a/notmuch.c +++ b/notmuch.c @@ -220,6 +220,10 @@ command_t commands[] = { "\tof messages matching both a specific tag and either inbox\n" "\tor unread\n" "\n" + "\tIf no parameters are given, or the special search terms '' or\n" + "\t'*' are given, it will display the total number of messages in\n" + "\tthe database.\n" + "\n" "\tSee \"notmuch help search-terms\" for details of the search\n" "\t\tterms syntax." }, { "reply", notmuch_reply_command, -- cgit v1.2.3