[yum-commits] reposync.py

skvidal at osuosl.org skvidal at osuosl.org
Wed Apr 8 13:17:02 UTC 2009


 reposync.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d442e8a0b085e1c4c20c54731c17c7085eb7b0fa
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Wed Apr 8 09:15:10 2009 -0400

    remove -P as a shortcut for --norepopath b/c it is confusingly dissimilar to -p

diff --git a/reposync.py b/reposync.py
index 5d97e01..655caa8 100755
--- a/reposync.py
+++ b/reposync.py
@@ -109,7 +109,7 @@ def parseArgs():
         help="delete local packages no longer present in repository")
     parser.add_option("-p", "--download_path", dest='destdir', 
         default=os.getcwd(), help="Path to download packages to: defaults to current dir")
-    parser.add_option("-P", "--norepopath", dest='norepopath', default=False, action="store_true",
+    parser.add_option("--norepopath", dest='norepopath', default=False, action="store_true",
 	     help="Don't add the reponame to the download path. Can only be used when syncing a single repository (default is to add the reponame)")
     parser.add_option("-g", "--gpgcheck", default=False, action="store_true",
         help="Remove packages that fail GPG signature checking after downloading")


More information about the Yum-commits mailing list