Fix --help summary so that "commit" mode shows. (trunk r8140)
authorZac Medico <zmedico@gentoo.org>
Mon, 15 Oct 2007 19:52:49 +0000 (19:52 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 15 Oct 2007 19:52:49 +0000 (19:52 -0000)
svn path=/main/branches/2.1.2/; revision=8141

bin/repoman

index 1b198db11f912271d86c732287f6ec84e5068ca3..938f3b6c34b3367b9637bfd707c46c56da3d45ef 100755 (executable)
@@ -272,7 +272,7 @@ def help(exitstatus=1,helpfulness=1):
        print bold(" Usage:"),turquoise(exename),"[",green("options"),"] [",green("mode"),"]"
        if helpfulness:
                print bold(" Modes:"),turquoise("scan (default)"),
-               for x in modes[1:]:
+               for x in modes:
                        if x == "scan":
                                continue
                        print "|",turquoise(x),