From: Zac Medico Date: Mon, 15 Oct 2007 07:38:03 +0000 (-0000) Subject: Sort the modes in the repoman --help output. X-Git-Tag: v2.2_pre1~624 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c32fd2172102983ad34b43caa738ccd5cc4fc510;p=portage.git Sort the modes in the repoman --help output. svn path=/main/trunk/; revision=8125 --- diff --git a/bin/repoman b/bin/repoman index 6c600df00..70828fe70 100755 --- a/bin/repoman +++ b/bin/repoman @@ -121,6 +121,7 @@ modeshelp={ "lfull" : "Remember report from last run (full listing)" } modes=modeshelp.keys() +modes.sort() repoman_options={ "--commitmsg" : "Adds a commit message via the command line", "--commitmsgfile" : "Adds a commit message from the specified file", @@ -288,6 +289,8 @@ def help(exitstatus=1,helpfulness=1): if helpfulness: print bold(" Modes:"),turquoise("scan (default)"), for x in modes[1:]: + if x == "scan": + continue print "|",turquoise(x), print print