[yum-cvs] docs/repoquery.1 repoquery.py

Tim Lauridsen timlau at linux.duke.edu
Thu Sep 6 13:29:11 UTC 2007


 docs/repoquery.1 |    7 ++-----
 repoquery.py     |    2 +-
 2 files changed, 3 insertions(+), 6 deletions(-)

New commits:
commit 3d68f4c41a5e36d39032287e7bac3d7dd58a55dc
Author: Tim Lauridsen <tla at rasmil.dk>
Date:   Thu Sep 6 15:22:29 2007 +0200

    Fixed repoquery help & manpage with --repofrompath=<repoid>,<url / path>

diff --git a/docs/repoquery.1 b/docs/repoquery.1
index 2b486be..bdae835 100644
--- a/docs/repoquery.1
+++ b/docs/repoquery.1
@@ -20,14 +20,11 @@ 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\-\-repofrompath=<path/url>\fP"
+.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 of the paths specified are the last directory path
-segment. So if the path you specified was: '/some/place/named/my_repo/' then
-the repoid would be 'my_repo'. If the path was: 'http://server/path/my_repo'
-then the repoid would also by 'my_repo'. 
+--repoid. The repoid for the repository is specified by <repoid>.
 .IP "\fB\-q\fP"
 For rpmquery compatibility, doesn't do anything.
 .IP "\fB\-h, \-\-help\fP"
diff --git a/repoquery.py b/repoquery.py
index aa100c3..a183015 100755
--- a/repoquery.py
+++ b/repoquery.py
@@ -627,7 +627,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("--repofrompath", action="append",
-                      help="specify paths of additional repositories - complete path required, can be specified multiple times.")
+                      help="specify repoid & paths of additional repositories - unique repoid and complete path required, can be specified multiple times. Example. --repofrompath=myrepo,/path/to/repo")
     parser.add_option("--quiet", action="store_true", 
                       help="quiet (no output to stderr)", default=True)
     parser.add_option("--verbose", action="store_false",



More information about the Yum-cvs-commits mailing list