Move --update from the actions to the options section. (trunk r15777)
authorZac Medico <zmedico@gentoo.org>
Tue, 9 Mar 2010 02:42:23 +0000 (02:42 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 9 Mar 2010 02:42:23 +0000 (02:42 -0000)
svn path=/main/branches/2.1.7/; revision=15781

man/emerge.1
pym/_emerge/help.py

index ce4adb9461e119fa04417bad441f85e932b19ed3..03329a169ce04ad0a7ba30c094df5a31c1af1fd7 100644 (file)
@@ -234,13 +234,6 @@ system.  Its arguments can be \fIatoms\fR or
 \fIebuilds\fR. For a dependency aware version of \fB\-\-unmerge\fR,
 use \fB\-\-depclean\fR or \fB\-\-prune\fR.
 .TP
-.BR "\-\-update " (\fB\-u\fR)
-Updates packages to the best version available, which may not always be the 
-highest version number due to masking for testing and development.
-Package atoms
-specified on the command line are greedy, meaning that unspecific atoms may
-match multiple installed versions of slotted packages.
-.TP
 .BR "\-\-version " (\fB\-V\fR)
 Displays the version number of \fBemerge\fR.
 .SH "OPTIONS"
@@ -551,6 +544,13 @@ order in which the packages will be merged. When
 constraint is removed, hopefully leading to a more
 readable dependency tree.
 .TP
+.BR "\-\-update " (\fB\-u\fR)
+Updates packages to the best version available, which may
+not always be the  highest version number due to masking
+for testing and development. Package atoms specified on
+the command line are greedy, meaning that unspecific
+atoms may match multiple versions of slotted packages.
+.TP
 .BR "\-\-use\-ebuild\-visibility[=n]"
 Use unbuilt ebuild metadata for visibility
 checks on built packages.
index c138f66d732f220af467579187aace4998467064..b7947956ee9d74d61cf857f374fcfe7f59a38aea 100644 (file)
@@ -229,13 +229,6 @@ def help(myopts, havecolor=1):
                print("              ebuilds. For a dependency aware version of --unmerge, use")
                print("              --depclean or --prune.")
                print()
-               print("       "+green("--update")+" ("+green("-u")+" short option)")
-               print("              Updates packages to the best version available, which may not")
-               print("              always be the highest version number due to masking for testing")
-               print("              and development. Package atoms specified on the command")
-               print("              line are greedy, meaning that unspecific atoms may match multiple")
-               print("              installed versions of slotted packages.")
-               print()
                print("       "+green("--version")+" ("+green("-V")+" short option)")
                print("              Displays the currently installed version of portage along with")
                print("              other information useful for quick reference on a system. See")
@@ -604,6 +597,15 @@ def help(myopts, havecolor=1):
                for line in wrap(desc, desc_width):
                        print(desc_indent + line)
                print()
+               print("       "+green("--update")+" ("+green("-u")+" short option)")
+               desc = "Updates packages to the best version available, which may " + \
+                       "not always be the  highest version number due to masking " + \
+                       "for testing and development. Package atoms specified on " + \
+                       "the command line are greedy, meaning that unspecific " + \
+                       "atoms may match multiple versions of slotted packages."
+               for line in wrap(desc, desc_width):
+                       print(desc_indent + line)
+               print()
                print("       " + green("--use-ebuild-visibility") + "[=%s]" % turquoise("n"))
                desc = "Use unbuilt ebuild metadata for visibility " + \
                        "checks on built packages."