summaryrefslogtreecommitdiffstats
path: root/bin/repoman
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-10-15 18:49:15 +0000
committerZac Medico <zmedico@gentoo.org>2007-10-15 18:49:15 +0000
commit3942edfaeb9e40cd9e50a43ec8d33fdbb277b6a8 (patch)
treec9b4473ef014c548232646931f3d2cc9b4316bd4 /bin/repoman
parentd89a7851ef6c78dc1f5f05c4e37627ecd347c930 (diff)
downloadportage-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
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman3
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