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

bin/repoman

index 70828fe70e670c1b60847a01546f487bdb3c0187..5fb624094bb6810f5f005be804920074ac73a05c 100755 (executable)
@@ -288,7 +288,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),