diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-10-15 18:49:15 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-10-15 18:49:15 +0000 |
commit | 3942edfaeb9e40cd9e50a43ec8d33fdbb277b6a8 (patch) | |
tree | c9b4473ef014c548232646931f3d2cc9b4316bd4 | |
parent | d89a7851ef6c78dc1f5f05c4e37627ecd347c930 (diff) | |
download | portage-3942edfaeb9e40cd9e50a43ec8d33fdbb277b6a8.tar.gz portage-3942edfaeb9e40cd9e50a43ec8d33fdbb277b6a8.tar.bz2 portage-3942edfaeb9e40cd9e50a43ec8d33fdbb277b6a8.zip |
Sort the modes in the repoman --help output. (trunk r8125)
svn path=/main/branches/2.1.2/; revision=8132
-rwxr-xr-x | bin/repoman | 3 |
1 files changed, 3 insertions, 0 deletions
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 |