From 3942edfaeb9e40cd9e50a43ec8d33fdbb277b6a8 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 15 Oct 2007 18:49:15 +0000 Subject: [PATCH] Sort the modes in the repoman --help output. (trunk r8125) svn path=/main/branches/2.1.2/; revision=8132 --- bin/repoman | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.26.2