summaryrefslogtreecommitdiff
path: root/docs/manpages
diff options
context:
space:
mode:
authorMartyn Russell <martyn@lanedo.com>2013-03-25 15:00:15 +0000
committerMartyn Russell <martyn@lanedo.com>2013-03-25 15:07:10 +0000
commit164d533c3c2dd9b3d50aa4517e8cb65f84c18019 (patch)
tree9db79ba7b9867f296e35c1c6e4d1d73bc74eb7af /docs/manpages
parent8e31070e03cea766b08472946f715630075e1f8f (diff)
downloadtracker-164d533c3c2dd9b3d50aa4517e8cb65f84c18019.tar.gz
tracker-tag: Fix --list (-t) to use logical OR, not AND
Also improve the documentation.
Diffstat (limited to 'docs/manpages')
-rw-r--r--docs/manpages/tracker-tag.116
1 files changed, 14 insertions, 2 deletions
diff --git a/docs/manpages/tracker-tag.1 b/docs/manpages/tracker-tag.1
index c3e1a20c0..b5756ac1f 100644
--- a/docs/manpages/tracker-tag.1
+++ b/docs/manpages/tracker-tag.1
@@ -4,8 +4,10 @@
tracker-tag \- Add, remove and list tags.
.SH SYNOPSIS
-\fBtracker-tag\fR
-[\fIOPTION...\fR] FILE [\fIFILE...\fR]
+\fBtracker-tag\fR [\fIOPTION...\fR] FILE [\fIFILE...\fR]
+.nf
+\fBtracker-tag\fR [\fIOPTION...\fR] -t [[\fITAG\fR] [\fITAG\fR] ...\fR]
+.fi
.SH DESCRIPTION
.B tracker-tag
@@ -34,6 +36,16 @@ Use OR for search terms instead of AND (the default)
List all tags. Results include the number of files associated with
that tag and the tag's unique identifier. You can show the files
associated with each tag by using --show-files.
+
+The \fITAG\fR arguments are optional. If no \fITAG\fR argument
+is specified, all tags are listed. If one or more \fITAG\fRs are
+given, all matching tags are listed. For example, this will match any
+tags named either \fIfoo\fR, \fIbar\fR or \fIbaz\fR:
+.nf
+.BR
+$ tracker-tag -t foo bar baz
+.fi
+
.TP
.B \-s, \-\-show-files
Show the files associated with each tag. This option is ONLY available