From c32fd2172102983ad34b43caa738ccd5cc4fc510 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 15 Oct 2007 07:38:03 +0000 Subject: Sort the modes in the repoman --help output. svn path=/main/trunk/; revision=8125 --- bin/repoman | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/repoman') 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 -- cgit v1.2.3-1-g7c22