From: Zac Medico Date: Mon, 15 Oct 2007 18:49:15 +0000 (-0000) Subject: Sort the modes in the repoman --help output. (trunk r8125) X-Git-Tag: v2.1.3.16~31 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3942edfaeb9e40cd9e50a43ec8d33fdbb277b6a8;p=portage.git Sort the modes in the repoman --help output. (trunk r8125) svn path=/main/branches/2.1.2/; revision=8132 --- diff --git a/bin/repoman b/bin/repoman index 3f024b479..1b198db11 100755 --- a/bin/repoman +++ b/bin/repoman @@ -105,6 +105,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", @@ -272,6 +273,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