summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-10-15 07:38:03 +0000
committerZac Medico <zmedico@gentoo.org>2007-10-15 07:38:03 +0000
commitc32fd2172102983ad34b43caa738ccd5cc4fc510 (patch)
tree26b0735f13c5a218188c65a617d3ebb256606575
parentd847b5a97929fb8226c47a76d2472e2415d85034 (diff)
downloadportage-c32fd2172102983ad34b43caa738ccd5cc4fc510.tar.gz
portage-c32fd2172102983ad34b43caa738ccd5cc4fc510.tar.bz2
portage-c32fd2172102983ad34b43caa738ccd5cc4fc510.zip
Sort the modes in the repoman --help output.
svn path=/main/trunk/; revision=8125
-rwxr-xr-xbin/repoman3
1 files changed, 3 insertions, 0 deletions
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