[yum-commits] docs/repoquery.1 repoquery.py
skvidal at osuosl.org
skvidal at osuosl.org
Tue Nov 4 15:54:42 UTC 2008
docs/repoquery.1 | 24 +++++++++++++++++++-----
repoquery.py | 2 +-
2 files changed, 20 insertions(+), 6 deletions(-)
New commits:
commit e958020dfb90e9453bf1b431893c98e60e7038af
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Tue Nov 4 10:53:28 2008 -0500
apply documentation patch from Ville Skyttä
closes bug #459022
diff --git a/docs/repoquery.1 b/docs/repoquery.1
index aa63ce3..bac61dd 100644
--- a/docs/repoquery.1
+++ b/docs/repoquery.1
@@ -20,18 +20,28 @@ Report program version and exit.
Specify which repository to query. Using this option disables all repositories
not explicitly enabled with --repoid option (can be used multiple times). By
default repoquery uses whatever repositories are enabled in YUM configuration.
+.IP "\fB\-\-enablerepo=<repo>\fP"
+In addition to the default set, query the given additional repository, even if
+it is disabled in YUM configuration. Can be used multiple times.
+.IP "\fB\-\-disablerepo=<repo>\fP"
+Do not query the given repository, even if it is enabled in YUM
+configuration. Can be used multiple times.
.IP "\fB\-\-repofrompath=<repoid>,<path/url>\fP"
Specify a path or url to a repository (same path as in a baseurl) to add to
the repositories for this query. This option can be used multiple times. If
you want to view only the pkgs from this repository combine this with
--repoid. The repoid for the repository is specified by <repoid>.
-.IP "\fB\-q\fP"
+.IP "\fB\-\-plugins\fP"
+Enable YUM plugin support.
+.IP "\fB\-q, \-\-query\fP"
For rpmquery compatibility, doesn't do anything.
.IP "\fB\-h, \-\-help\fP"
Help; display a help message and then quit\&.
.IP "\fB\-\-quiet\fP"
Run quietly: no warnings printed to stderr.
-.IP "\fB\-C\fP"
+.IP "\fB\-\-verbose\fP"
+Produce verbose output.
+.IP "\fB\-C, \-\-cache\fP"
Tells repoquery to run entirely from YUM cache - does not download any metadata
or update the cache. Queries in this mode can fail or give partial/incorrect
results if the cache isn't fully populated beforehand with eg "yum makecache".
@@ -64,6 +74,8 @@ Show a location where the package could be downloaded from.
For example: \fBwget `repoquery --location yum`\fP
.IP "\fB\-s, \-\-source\fP"
Show package source RPM name.
+.IP "\fB\-\-srpm\fP"
+Operate on corresponding source RPM.
.IP "\fB\-\-groupmember PACKAGE\fP"
List the repodata groups (yumgroups.xml) belongs to (if any).
.IP "\fB\-\-nvr\fP"
@@ -81,7 +93,7 @@ sprintf (Eg. %-20{name})
.PP
.SH "PACKAGE SELECTION OPTIONS"
-.IP "\fB\-a\fP"
+.IP "\fB\-a, \-\-all\fP"
Query all available packages (for rpmquery compatibility / shorthand for
repoquery '*')
.IP "\fB\-f, \-\-file FILE\fP"
@@ -97,6 +109,8 @@ Query all packages that require CAPABILITY.
.IP "\fB\-\-alldeps\fP"
When used with --whatrequires, use both automatic and manual dependencies
for the query.
+.IP "\fB\-\-recursive\fP"
+When used with --whatrequires, query packages recursively.
.IP "\fB\-\-archlist=ARCH1[,ARCH2...]\fP"
Limit the query to packages of given architecture(s). Valid values are all
architectures known to rpm/yum such as 'i386' and 'src' for
@@ -104,7 +118,7 @@ source RPMS.
.IP "\fB\-\-pkgnarrow=WHAT\fP"
Limit what packages are considered for the query. Valid values for WHAT are:
installed, available, recent, updates, extras, all and repository (default).
-.IP "\fB\-\-show-dupes\fP"
+.IP "\fB\-\-show-dupes, \-\-show\-duplicates\fP"
Query all versions of package. By default only newest packages are
considered.
@@ -125,7 +139,7 @@ List groups required by group.
.PP
.IP "\fB\-a\fP"
Query all available groups.
-.IP "\fB\-g\fP"
+.IP "\fB\-g, \-\-group\fP"
Query groups instead of packages.
.PP
diff --git a/repoquery.py b/repoquery.py
index 33c729f..490b1e9 100755
--- a/repoquery.py
+++ b/repoquery.py
@@ -657,7 +657,7 @@ def main(args):
parser.add_option("--repoid", action="append",
help="specify repoids to query, can be specified multiple times (default is all enabled)")
parser.add_option("--enablerepo", action="append", dest="enablerepos",
- help="specify repoids to query, can be specified multiple times (default is all enabled)")
+ help="specify additional repoids to query, can be specified multiple times")
parser.add_option("--disablerepo", action="append", dest="disablerepos",
help="specify repoids to disable, can be specified multiple times")
parser.add_option("--repofrompath", action="append",
More information about the Yum-commits
mailing list