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 18516431FB6 for ; Sat, 9 Mar 2013 06:57:17 -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 pTioAB5-X4iy for ; Sat, 9 Mar 2013 06:57:12 -0800 (PST) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com [209.85.215.50]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 8BC6A431FBC for ; Sat, 9 Mar 2013 06:57:03 -0800 (PST) Received: by mail-la0-f50.google.com with SMTP id ec20so2605305lab.37 for ; Sat, 09 Mar 2013 06:57:01 -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=kfVe83HF6dBkhgw9uCojebgrhtq/wQ36LcsglGgOmQk=; b=DeXDPauKYMqMKRuzAQaoPm6WKvKAJBCMJsUYLhkKQhykXJ2uesPI9FKR/zK8ASvVnJ 93CcVX59ccOuzf3ePjMI0hX2w1yD+SFHjUhY55ynLEeXxwqxIVql23lEdOb57lpvTPdv v/tamo07Ay0svrpj8GSsb65yfDmbmjvtJ7Y1H2RLORY1tp4qLVCX6xkC7u9e3KS0Dyjm YikDs2b+U11KgolJrB0vJ83hLt3fqOmHEOgb7vcNQ6clyY0+yqtWBs3bh9/ERW7nlR3Q f82NF9xV1H1T4cXHQJs48SlMJ+U93C4AtrGg/2GgJ9/hyetsxQEMGfNbAJwDPAF/KSj4 loEw== X-Received: by 10.152.110.6 with SMTP id hw6mr5193331lab.43.1362841021882; Sat, 09 Mar 2013 06:57:01 -0800 (PST) Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi. [80.223.81.27]) by mx.google.com with ESMTPS id xw14sm4257187lab.6.2013.03.09.06.57.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 09 Mar 2013 06:57:01 -0800 (PST) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH v2 3/4] man: document notmuch tag --remove-all Date: Sat, 9 Mar 2013 16:56:50 +0200 Message-Id: X-Mailer: git-send-email 1.7.10.4 In-Reply-To: References: In-Reply-To: References: X-Gm-Message-State: ALoCoQn9N+Ax4iYl70CnS/AwGLs7z20HKGY30Bzxp3uPeLn5zQEpTGeAWrnwXxED2RPAjs8hJ1Rd 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 14:57:17 -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 0052ca2..c7d7a4d 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