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