[yum-cvs] yum-utils reposync.py,1.5,1.6
Seth Vidal
skvidal at linux.duke.edu
Sun May 7 01:44:30 UTC 2006
Update of /home/groups/yum/cvs/yum-utils
In directory login1.linux.duke.edu:/tmp/cvs-serv953
Modified Files:
reposync.py
Log Message:
clean up the --help output of reposync
Index: reposync.py
===================================================================
RCS file: /home/groups/yum/cvs/yum-utils/reposync.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- reposync.py 30 Apr 2006 02:49:14 -0000 1.5
+++ reposync.py 7 May 2006 01:44:28 -0000 1.6
@@ -64,7 +64,13 @@
def parseArgs():
- usage = "usage: %s [options]" % sys.argv[0]
+ usage = """
+ Reposync is used to synchronize a remote yum repository to a local
+ directory using yum to retrieve the packages.
+
+ %s [options]
+ """ % sys.argv[0]
+
parser = OptionParser(usage=usage)
parser.add_option("-c", "--config", default='/etc/yum.conf',
help='config file to use (defaults to /etc/yum.conf)')
@@ -75,7 +81,7 @@
parser.add_option("-t", "--tempcache", default=False, action="store_true",
help="Use a temp dir for storing/accessing yum-cache")
parser.add_option("-p", "--download_path", dest='destdir',
- default=os.getcwd(), help="Path to download packages to")
+ default=os.getcwd(), help="Path to download packages to: defaults to current dir")
parser.add_option("-u", "--urls", default=False, action="store_true",
help="Just list urls of what would be downloaded, don't download")
parser.add_option("-n", "--newest-only", dest='newest', default=False, action="store_true",
More information about the Yum-cvs-commits
mailing list