summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/_emerge/create_depgraph_params.py2
-rw-r--r--pym/_emerge/help.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/create_depgraph_params.py b/pym/_emerge/create_depgraph_params.py
index 37bda4922..f8351831e 100644
--- a/pym/_emerge/create_depgraph_params.py
+++ b/pym/_emerge/create_depgraph_params.py
@@ -42,7 +42,7 @@ def create_depgraph_params(myopts, myaction):
rebuilt_binaries = myopts.get('--rebuilt-binaries')
if rebuilt_binaries is True or \
rebuilt_binaries != 'n' and \
- '--usepkg' in myopts and \
+ '--usepkgonly' in myopts and \
myopts.get('--deep') is True and \
'--update' in myopts:
myparams['rebuilt_binaries'] = True
diff --git a/pym/_emerge/help.py b/pym/_emerge/help.py
index 7c6b334fc..867902a6c 100644
--- a/pym/_emerge/help.py
+++ b/pym/_emerge/help.py
@@ -511,7 +511,7 @@ def help(myopts, havecolor=1):
"been rebuilt. Rebuilds are detected by comparison of " + \
"BUILD_TIME package metadata. This option is enabled " + \
"automatically when using binary packages " + \
- "(--usepkg or --getbinpkg) together with " + \
+ "(--usepkgonly or --getbinpkgonly) together with " + \
"--update and --deep."
for line in wrap(desc, desc_width):
print(desc_indent + line)