From ec4561ca32019ace486be4174bfa0c32e2e4e6a9 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Tue, 15 Jan 2013 23:54:46 +0200 Subject: [PATCH] [PATCH 4/5] man: document notmuch count --batch and --input options --- c8/f312e5511d5f042121f10e89359f3a135c11b3 | 107 ++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 c8/f312e5511d5f042121f10e89359f3a135c11b3 diff --git a/c8/f312e5511d5f042121f10e89359f3a135c11b3 b/c8/f312e5511d5f042121f10e89359f3a135c11b3 new file mode 100644 index 000000000..d97ffe52a --- /dev/null +++ b/c8/f312e5511d5f042121f10e89359f3a135c11b3 @@ -0,0 +1,107 @@ +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 541AA431FCB + for ; Tue, 15 Jan 2013 13:55:09 -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 Wfxt0TV7-VQI for ; + Tue, 15 Jan 2013 13:55:08 -0800 (PST) +Received: from mail-la0-f45.google.com (mail-la0-f45.google.com + [209.85.215.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 83634431FC0 + for ; Tue, 15 Jan 2013 13:55:03 -0800 (PST) +Received: by mail-la0-f45.google.com with SMTP id ep20so693032lab.4 + for ; Tue, 15 Jan 2013 13:55:02 -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=wIOQKJUPvEPzk9t8NPoLEBohtrIk0BH0ocLN4r9h5Fc=; + b=GyX2izj4HpDkBW6Y13cRKWQPD5KJLcFmyPQb0w3TjGxATWqLBYQNQeJ2PWv1mYNU5L + A9oc4rDmfj3tLbW38cOhf8e5Q00KGMMChjuhShopt3GG2tu/dO0J/QSC4+iKJ8la2K2p + irSD3sGY1iSaj8I8chwGA6eT+io2vp5TgQhATLxVMxn2zzhGgh3MiuyoxsAqudl8GEpQ + eKphs0Of7QAJwAUTWUE7MsNvJU42+viUKDz6CHsOd6sbgyI3oG7muhbSJ3IkhhDUuQfz + ktnjZB8y7iEXYjwrClzDn7DeTx9HM4jRMvTogFZUCDnXcnm6edY98/BaZW/RUndWe5yE + Pjdg== +X-Received: by 10.112.46.37 with SMTP id s5mr37124409lbm.67.1358286902008; + Tue, 15 Jan 2013 13:55:02 -0800 (PST) +Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi. + [80.223.81.27]) + by mx.google.com with ESMTPS id n7sm7281642lbg.3.2013.01.15.13.55.00 + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Tue, 15 Jan 2013 13:55:01 -0800 (PST) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH 4/5] man: document notmuch count --batch and --input options +Date: Tue, 15 Jan 2013 23:54:46 +0200 +Message-Id: + +X-Mailer: git-send-email 1.7.10.4 +In-Reply-To: +References: +In-Reply-To: +References: +X-Gm-Message-State: + ALoCoQm8EBUd0rG1wNo8QkVchy16bbKjCB4BupYH7+mdnj6ddU/iEjWtxsGrSpsZxfnxkCVgp6j0 +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: Tue, 15 Jan 2013 21:55:10 -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 335adf5..40be158 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 + -- 2.26.2