From: Jani Nikula Date: Sat, 9 Mar 2013 15:12:24 +0000 (+0200) Subject: [PATCH v2 4/6] man: document notmuch count --batch and --input options X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=df46a668205e25c36bef7a5df1145e28d0a55c50;p=notmuch-archives.git [PATCH v2 4/6] man: document notmuch count --batch and --input options --- diff --git a/0c/2d129c7479ff9b953696ed02ec0d5ddc972fa6 b/0c/2d129c7479ff9b953696ed02ec0d5ddc972fa6 new file mode 100644 index 000000000..9e2edc3f0 --- /dev/null +++ b/0c/2d129c7479ff9b953696ed02ec0d5ddc972fa6 @@ -0,0 +1,108 @@ +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 BA21C431E64 + for ; Sat, 9 Mar 2013 07:12:57 -0800 (PST) +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 S49p9HJ0BAGG for ; + Sat, 9 Mar 2013 07:12:57 -0800 (PST) +Received: from mail-la0-f48.google.com (mail-la0-f48.google.com + [209.85.215.48]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id D8FDC431FC9 + for ; Sat, 9 Mar 2013 07:12:48 -0800 (PST) +Received: by mail-la0-f48.google.com with SMTP id fq13so2557222lab.7 + for ; Sat, 09 Mar 2013 07:12:47 -0800 (PST) +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=RF0WGGXIfD8tt63eeMdnejuyp5LYUU2ifY/npDBpJq2NdxK08kFTigHswTDHGafE3I + 5vaGBap7Dys+W27pL4kVuMfYBI1daBclPKnDqhmP24B1qQPOP4xjBuGdEKyLlkyee2Hd + bZpuQ65F0Kq7+5737oo9P+nNO2huIc/zz3NQSEQpZIzDHTd4QlWfNAJNvqxdKCO5mvMs + n1oHkCFZY4hTS1Eyh6QsG/RWkhbTshWfw5BioJFujrMmhI8u+PEFRKOvw5Tw4DxeJRUq + 5HuKSl5SY4xmUrIMtovO6NJm0mBEyE5TAvPbA4reH9PXGjmJzJmXp5PYRHxybR3GosWK + gXrg== +X-Received: by 10.152.108.1 with SMTP id hg1mr5159379lab.12.1362841967348; + Sat, 09 Mar 2013 07:12:47 -0800 (PST) +Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi. + [80.223.81.27]) + by mx.google.com with ESMTPS id gm20sm4275138lab.7.2013.03.09.07.12.45 + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sat, 09 Mar 2013 07:12:46 -0800 (PST) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH v2 4/6] man: document notmuch count --batch and --input + options +Date: Sat, 9 Mar 2013 17:12:24 +0200 +Message-Id: + +X-Mailer: git-send-email 1.7.10.4 +In-Reply-To: +References: +In-Reply-To: +References: +X-Gm-Message-State: + ALoCoQnaazcGwSOOAEIoi3J0yy8hNZ4Us8bs/WwvkoRfusrgWNnFAOygEv0F1CiYSMvmcdC4eDYn +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: Sat, 09 Mar 2013 15:12:58 -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 +