[PATCH v3 4/6] man: document notmuch count --batch and --input options
authorJani Nikula <jani@nikula.org>
Sun, 31 Mar 2013 09:46:01 +0000 (12:46 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:54:08 +0000 (09:54 -0800)
5f/4dbce39b7cc57b74ccc87a4a48c6925f1d60d4 [new file with mode: 0644]

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