X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=man%2Fman1%2Fnotmuch-tag.1;h=f4fb1f32ce8014e8c4e06855d128bda269cfa1b3;hb=eb61cc78398712dc4cc8a4a3ed861ac074aa007e;hp=a65eb426005c29c0d9a6b21ca3086d3bf3d790e8;hpb=7264732a794b8d59b0aeef395e74381beb4b90f7;p=notmuch diff --git a/man/man1/notmuch-tag.1 b/man/man1/notmuch-tag.1 index a65eb426..f4fb1f32 100644 --- a/man/man1/notmuch-tag.1 +++ b/man/man1/notmuch-tag.1 @@ -1,10 +1,10 @@ -.TH NOTMUCH-TAG 1 2013-01-24 "Notmuch 0.15.1" +.TH NOTMUCH-TAG 1 2013-12-30 "Notmuch 0.17" .SH NAME 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" @@ -38,6 +38,16 @@ details. Supported options for .B tag 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 @@ -116,7 +126,7 @@ of the tag +space%20in%20tags -- Two # add tag '(tags)', among other stunts. -+crazy{ +(tags) +&are +#possible\ -- tag:"space in tags" ++crazy{ +(tags) +&are +#possible\e -- tag:"space in tags" +match*crazy -- tag:crazy{ +some_tag -- id:"this is ""nauty)""" .fi @@ -125,7 +135,8 @@ of the tag .SH SEE ALSO \fBnotmuch\fR(1), \fBnotmuch-config\fR(1), \fBnotmuch-count\fR(1), -\fBnotmuch-dump\fR(1), \fBnotmuch-hooks\fR(5), \fBnotmuch-new\fR(1), +\fBnotmuch-dump\fR(1), \fBnotmuch-hooks\fR(5), +\fBnotmuch-insert\fR(1), \fBnotmuch-new\fR(1), \fBnotmuch-reply\fR(1), \fBnotmuch-restore\fR(1), \fBnotmuch-search\fR(1), \fBnotmuch-search-terms\fR(7), \fBnotmuch-show\fR(1),