summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-11-30 10:11:45 +0100
committerZac Medico <zmedico@gentoo.org>2012-11-30 01:11:47 -0800
commit3fce988f670ef2f7c9af677ceb3fbc0f56723bb0 (patch)
tree3a0775a0a53097a310903f09b009bbd84328010a
parent373cc4a651596b86f77d7e9dbf1fbccd61895b54 (diff)
downloadportage-3fce988f670ef2f7c9af677ceb3fbc0f56723bb0.tar.gz
portage-3fce988f670ef2f7c9af677ceb3fbc0f56723bb0.tar.bz2
portage-3fce988f670ef2f7c9af677ceb3fbc0f56723bb0.zip
Add --oneshot to the portage update suggestion.
Most users probably have it in the @world already but I don't think everybody needs it there explicitly.
-rw-r--r--pym/_emerge/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index b64614e1d..e5d413248 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -2592,7 +2592,7 @@ def action_sync(settings, trees, mtimedb, myopts, myaction):
print(warn(" * ")+bold("An update to portage is available.")+" It is _highly_ recommended")
print(warn(" * ")+"that you update portage now, before any other packages are updated.")
print()
- print(warn(" * ")+"To update portage, run 'emerge portage' now.")
+ print(warn(" * ")+"To update portage, run 'emerge --oneshot portage' now.")
print()
display_news_notification(root_config, myopts)