aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/egencache3
-rw-r--r--man/egencache.12
2 files changed, 3 insertions, 2 deletions
diff --git a/bin/egencache b/bin/egencache
index 0766d99cb..fc046b711 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'" % \
diff --git a/man/egencache.1 b/man/egencache.1
index d0bd1014a..78b9c17e5 100644
--- a/man/egencache.1
+++ b/man/egencache.1
@@ -23,7 +23,7 @@ information about why this is necessary.
.br
Defaults to /var/cache/edb/dep.
.TP
-.BR "\-\-config\-root=CONFIG_ROOT"
+.BR "\-\-config\-root=PORTAGE_CONFIGROOT"
Location of portage config files.
.br
Defaults to /.