Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 1696C429E41 for ; Sun, 31 Mar 2013 02:46:29 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VU+VaBiYyivA for ; Sun, 31 Mar 2013 02:46:28 -0700 (PDT) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 3864E431FC3 for ; Sun, 31 Mar 2013 02:46:19 -0700 (PDT) Received: by mail-la0-f52.google.com with SMTP id fs12so1440508lab.39 for ; Sun, 31 Mar 2013 02:46:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:in-reply-to:references:x-gm-message-state; bh=mr/jlJrrwGnRSGj5Y347dFnMQ3Kf2BGn2/jlkf1GAIs=; b=GxzF5EOPgM5Wz9lxox0snPeyA4TPEitrW6SJp0ymqy4SiiC+9qR7RvGm8Vx1zW5q64 yMlHgrEyokGb1M/7khHs2/AQcxLAVY+LUVwJh2+3a1WEtI1pM84+ehjIXzzbqgd+ifGz T11+zCdXYCY2y33+M/aoel7027/ZmtBP2a1Xh4CbifLbj4S+9EqQ7Sh40xfnXhbXL8XU eZaX/EPex8nlokZ5zJbeE4L8HUG15Or2K5HnlhyOdRsvRfz7ICkkVEb170IG5DeTxoZY Kly92WLHxv7j//Zuqnx5nAEL7f6VIrZwzkRLYVxxr4cnhyD3huleEtpVBqOkDHorl4WN MOig== X-Received: by 10.112.87.132 with SMTP id ay4mr3964520lbb.87.1364723177722; Sun, 31 Mar 2013 02:46:17 -0700 (PDT) Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi. [80.223.81.27]) by mx.google.com with ESMTPS id fm8sm3703985lbb.17.2013.03.31.02.46.16 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 31 Mar 2013 02:46:16 -0700 (PDT) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH v3 4/6] man: document notmuch count --batch and --input options Date: Sun, 31 Mar 2013 12:46:01 +0300 Message-Id: X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: In-Reply-To: References: X-Gm-Message-State: ALoCoQnf41fyepobrZ0qUkSRH7HUL+q6BnsLIk0a2x1N2WtozOO3DdUtoNLNjavkD6U2WDUSVIp7 Cc: Tomi Ollila X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Mar 2013 09:46:29 -0000 --- man/man1/notmuch-count.1 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/man/man1/notmuch-count.1 b/man/man1/notmuch-count.1 index 86a67fe..7fc4378 100644 --- a/man/man1/notmuch-count.1 +++ b/man/man1/notmuch-count.1 @@ -46,6 +46,26 @@ Output the number of matching threads. Specify whether to omit messages matching search.tag_exclude from the count (the default) or not. .RE + +.RS 4 +.TP 4 +.BR \-\-batch + +Read queries from a file (stdin by default), one per line, and output +the number of matching messages (or threads) to stdout, one per +line. On an empty input line the count of all messages (or threads) in +the database will be output. This option is not compatible with +specifying search terms on the command line. +.RE + +.RS 4 +.TP 4 +.BR "\-\-input=" + +Read input from given file, instead of from stdin. Implies +.BR --batch . +.RE + .RE .RE -- 1.7.10.4