[PATCH 3/4] man: document notmuch tag --remove-all
authorJani Nikula <jani@nikula.org>
Tue, 22 Jan 2013 17:41:08 +0000 (19:41 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:53:17 +0000 (09:53 -0800)
04/ecc330469b5e54de360d8b2e67997ee5489f7a [new file with mode: 0644]

diff --git a/04/ecc330469b5e54de360d8b2e67997ee5489f7a b/04/ecc330469b5e54de360d8b2e67997ee5489f7a
new file mode 100644 (file)
index 0000000..cfe9f8b
--- /dev/null
@@ -0,0 +1,110 @@
+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 CC90F431FDA\r
+       for <notmuch@notmuchmail.org>; Tue, 22 Jan 2013 09:41:31 -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 8SIue53YR3v2 for <notmuch@notmuchmail.org>;\r
+       Tue, 22 Jan 2013 09:41:30 -0800 (PST)\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 9E898431FD4\r
+       for <notmuch@notmuchmail.org>; Tue, 22 Jan 2013 09:41:26 -0800 (PST)\r
+Received: by mail-la0-f52.google.com with SMTP id fs12so759943lab.39\r
+       for <notmuch@notmuchmail.org>; Tue, 22 Jan 2013 09:41:25 -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=BLxcdXfG2bg8wZuWLkWYmqoZU8eFJ8NdZ/BCnRGc8ok=;\r
+       b=FWHR0PNdHhIEivQz8FCDJYOZDM3pEcodqq/yem39TnGUbx2JoDbATKQDkqegGtISab\r
+       Ss5NMllwdXJXWVepNtPwJ9D6Q22KYYna7MPtZ9825g6jlYVLp1AneLsRFyjXkmhSVerE\r
+       hu/WRi5eV7Vy13Rqm8nlgPqmuayXUwFAZacdKWOO1cUooynhjUXhWf63Qqxs0Uk9xCgg\r
+       LKNdwd6Xkkvl4SWhTlgGzHZHP+R2DLouirKdiUt3rmRa2gyU9/niHZ5W6G5KX+BeQ3Ea\r
+       YBLa0y7G2ZqBCCLcpPhzAozALL3tIwg5/uo2p60vN00EfDVrhP+e57/wLGD6ewbsa3gu\r
+       wDjA==\r
+X-Received: by 10.152.125.237 with SMTP id mt13mr22117449lab.45.1358876485104;\r
+       Tue, 22 Jan 2013 09:41:25 -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 fj2sm7342987lbb.6.2013.01.22.09.41.23\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Tue, 22 Jan 2013 09:41:24 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 3/4] man: document notmuch tag --remove-all\r
+Date: Tue, 22 Jan 2013 19:41:08 +0200\r
+Message-Id:\r
+ <6fc48b184bf3bb28b39a0b28f4ef96994d2b48c7.1358876448.git.jani@nikula.org>\r
+X-Mailer: git-send-email 1.7.10.4\r
+In-Reply-To:\r
+ <1a2c09adc1c963f1aa209c09143f85dca7634e11.1358876448.git.jani@nikula.org>\r
+References:\r
+ <1a2c09adc1c963f1aa209c09143f85dca7634e11.1358876448.git.jani@nikula.org>\r
+In-Reply-To:\r
+ <1a2c09adc1c963f1aa209c09143f85dca7634e11.1358876448.git.jani@nikula.org>\r
+References:\r
+ <1a2c09adc1c963f1aa209c09143f85dca7634e11.1358876448.git.jani@nikula.org>\r
+X-Gm-Message-State:\r
+ ALoCoQkn6pdaVwK9S1V8gweYSCbLvd8HX4a9c/l43K1SvEHFSp6PZWjqdghSaZ/WUFd5unrPzt3Q\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: Tue, 22 Jan 2013 17:41:32 -0000\r
+\r
+---\r
+ man/man1/notmuch-tag.1 |   12 +++++++++++-\r
+ 1 file changed, 11 insertions(+), 1 deletion(-)\r
+\r
+diff --git a/man/man1/notmuch-tag.1 b/man/man1/notmuch-tag.1\r
+index 081bd0e..493b256 100644\r
+--- a/man/man1/notmuch-tag.1\r
++++ b/man/man1/notmuch-tag.1\r
+@@ -4,7 +4,7 @@ notmuch-tag \- add/remove tags for all messages matching the search terms\r
\r
+ .SH SYNOPSIS\r
+ .B notmuch tag\r
+-.RI "+<" tag ">|\-<" tag "> [...] [\-\-] <" search-term "> [...]"\r
++.RI [ options "...] +<" tag ">|\-<" tag "> [...] [\-\-] <" search-term "> [...]"\r
\r
+ .B notmuch tag\r
+ .RI "--batch"\r
+@@ -40,6 +40,16 @@ Supported options for\r
+ include\r
+ .RS 4\r
+ .TP 4\r
++.BR \-\-remove\-all\r
++\r
++Remove all tags from each message matching the search terms before\r
++applying the tag changes appearing on the command line. This means\r
++setting the tags of each message to the tags to be added. If there are\r
++no tags to be added, the messages will have no tags.\r
++.RE\r
++\r
++.RS 4\r
++.TP 4\r
+ .BR \-\-batch\r
\r
+ Read batch tagging operations from a file (stdin by default). This is more\r
+-- \r
+1.7.10.4\r
+\r