Add --oneshot to the portage update suggestion.
authorMichał Górny <mgorny@gentoo.org>
Fri, 30 Nov 2012 09:11:45 +0000 (10:11 +0100)
committerZac Medico <zmedico@gentoo.org>
Fri, 30 Nov 2012 09:11:47 +0000 (01:11 -0800)
Most users probably have it in the @world already but I don't think
everybody needs it there explicitly.

pym/_emerge/actions.py

index b64614e1d6a93d09dfc8e979cb1fe34e82759cd9..e5d4132480615d112d672bdce4c316218a257bb7 100644 (file)
@@ -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)