--- /dev/null
+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 BA21C431E64\r
+ for <notmuch@notmuchmail.org>; Sat, 9 Mar 2013 07:12:57 -0800 (PST)\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 S49p9HJ0BAGG for <notmuch@notmuchmail.org>;\r
+ Sat, 9 Mar 2013 07:12:57 -0800 (PST)\r
+Received: from mail-la0-f48.google.com (mail-la0-f48.google.com\r
+ [209.85.215.48]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id D8FDC431FC9\r
+ for <notmuch@notmuchmail.org>; Sat, 9 Mar 2013 07:12:48 -0800 (PST)\r
+Received: by mail-la0-f48.google.com with SMTP id fq13so2557222lab.7\r
+ for <notmuch@notmuchmail.org>; Sat, 09 Mar 2013 07:12:47 -0800 (PST)\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=RF0WGGXIfD8tt63eeMdnejuyp5LYUU2ifY/npDBpJq2NdxK08kFTigHswTDHGafE3I\r
+ 5vaGBap7Dys+W27pL4kVuMfYBI1daBclPKnDqhmP24B1qQPOP4xjBuGdEKyLlkyee2Hd\r
+ bZpuQ65F0Kq7+5737oo9P+nNO2huIc/zz3NQSEQpZIzDHTd4QlWfNAJNvqxdKCO5mvMs\r
+ n1oHkCFZY4hTS1Eyh6QsG/RWkhbTshWfw5BioJFujrMmhI8u+PEFRKOvw5Tw4DxeJRUq\r
+ 5HuKSl5SY4xmUrIMtovO6NJm0mBEyE5TAvPbA4reH9PXGjmJzJmXp5PYRHxybR3GosWK\r
+ gXrg==\r
+X-Received: by 10.152.108.1 with SMTP id hg1mr5159379lab.12.1362841967348;\r
+ Sat, 09 Mar 2013 07:12:47 -0800 (PST)\r
+Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi.\r
+ [80.223.81.27])\r
+ by mx.google.com with ESMTPS id gm20sm4275138lab.7.2013.03.09.07.12.45\r
+ (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+ Sat, 09 Mar 2013 07:12:46 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH v2 4/6] man: document notmuch count --batch and --input\r
+ options\r
+Date: Sat, 9 Mar 2013 17:12:24 +0200\r
+Message-Id:\r
+ <cd93d160188de5c75a13f3b5b967c25bddd807c4.1362841844.git.jani@nikula.org>\r
+X-Mailer: git-send-email 1.7.10.4\r
+In-Reply-To: <cover.1362841844.git.jani@nikula.org>\r
+References: <cover.1362841844.git.jani@nikula.org>\r
+In-Reply-To: <cover.1362841844.git.jani@nikula.org>\r
+References: <cover.1362841844.git.jani@nikula.org>\r
+X-Gm-Message-State:\r
+ ALoCoQnaazcGwSOOAEIoi3J0yy8hNZ4Us8bs/WwvkoRfusrgWNnFAOygEv0F1CiYSMvmcdC4eDYn\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: Sat, 09 Mar 2013 15:12:58 -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