summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2018-08-15 13:24:23 +0300
committerPanu Matilainen <pmatilai@redhat.com>2018-08-21 13:32:26 +0300
commit286084f255cc377972503ffd7e0997f098879018 (patch)
treec5ceb6cfc34eb98f536980732fce55c89910937e
parentacfbd30ae4faea5aeed5fb2216df1c64db76b658 (diff)
downloadrpm-286084f255cc377972503ffd7e0997f098879018.tar.gz
Document tag=pattern query/verify selector in the manual (#451)
(cherry picked from commit f15e86bf9a9a5a972b80aca5b9816948c58d82fa)
-rw-r--r--doc/rpm.89
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/rpm.8 b/doc/rpm.8
index 66b3d871e..42d617fb3 100644
--- a/doc/rpm.8
+++ b/doc/rpm.8
@@ -56,7 +56,8 @@ rpm \- RPM Package Manager
.SS "select-options"
.PP
- [\fB\fIPACKAGE_NAME\fB\fR] [\fB-a,--all\fR] [\fB-f,--file \fIFILE\fB\fR]
+ [\fB\fIPACKAGE_NAME\fB\fR]
+ [\fB-a,--all [\fISELECTOR\fR]\fR] [\fB-f,--file \fIFILE\fB\fR]
[\fB-g,--group \fIGROUP\fB\fR] {\fB-p,--package \fIPACKAGE_FILE\fB\fR]
[\fB--hdrid \fISHA1\fB\fR] [\fB--pkgid \fIMD5\fB\fR] [\fB--tid \fITID\fB\fR]
[\fB--querybynumber \fIHDRNUM\fB\fR] [\fB--triggeredby \fIPACKAGE_NAME\fB\fR]
@@ -543,8 +544,12 @@ Query installed package named \fIPACKAGE_NAME\fR. To specify the package more pr
both separated by a dash or an architecture name separated by a dot. See the output of \fBrpm -qa\fR or \fBrpm -qp \fIPACKAGE_FILE\fB\fR as an example.
.TP
-\fB-a, --all\fR
+\fB-a, --all [\fISELECTOR\fR]\fR
Query all installed packages.
+
+An optional \fISELECTOR\fR in the form of tag=pattern can be provided to
+narrow the selection, for example name="b*" to query packages whose name
+starts with "b".
.TP
\fB--dupes\fB
List duplicated packages.