diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-04-02 17:46:07 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-04-02 17:46:07 -0700 |
commit | 1399454f061a3f48ae8245979d432059b72b8b10 (patch) | |
tree | 0d2067143e0fa4c261e0e22030cfab7a4d68f183 /bin | |
parent | Merge remote branch 'fews-portage-branch/pkg_pretend' (diff) | |
download | portage-idfetch-1399454f061a3f48ae8245979d432059b72b8b10.tar.gz portage-idfetch-1399454f061a3f48ae8245979d432059b72b8b10.tar.bz2 portage-idfetch-1399454f061a3f48ae8245979d432059b72b8b10.zip |
For clarity, make egencache --help and man page refer to --config-root
parameter as PORTAGE_CONFIGROOT. Thanks to Brian Harring.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/egencache | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/egencache b/bin/egencache index 0766d99c..fc046b71 100755 --- a/bin/egencache +++ b/bin/egencache @@ -54,7 +54,7 @@ def parse_args(args): dest="cache_dir") parser.add_option("--config-root", help="location of portage config files", - dest="config_root") + dest="portage_configroot") parser.add_option("--jobs", action="store", help="max ebuild processes to spawn") @@ -105,6 +105,7 @@ def parse_args(args): else: options.load_average = None + options.config_root = options.portage_configroot if options.config_root is not None and \ not os.path.isdir(options.config_root): parser.error("Not a directory: --config-root='%s'" % \ |