Remove the help() function.
authorZac Medico <zmedico@gentoo.org>
Sun, 25 Jun 2006 19:34:18 +0000 (19:34 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 25 Jun 2006 19:34:18 +0000 (19:34 -0000)
svn path=/main/trunk/; revision=3656

bin/emerge

index f14d550ea4dda45c6d826f770694f06182731ffa..2c395af7b666c6c858796e65997bd933c7cef618 100755 (executable)
@@ -335,11 +335,6 @@ def getportageversion(portdir, target_root, profile, chost):
 
        return "Portage " + portage.VERSION +" ("+profilever+", "+gccver+", "+libcver+", "+unameout+")"
 
-def help():
-       # Move all the help stuff out of this file.
-       emergehelp.help(myaction,myopts,havecolor)
-
-
 def create_depgraph_params(myopts, myaction):
        #configure emerge engine parameters
        #
@@ -3602,7 +3597,7 @@ if __name__ == "__main__":
                        settings.profile_path, settings["CHOST"])
                sys.exit(0)
        elif "--help" in myopts:
-               help()
+               emergehelp.help(myaction, myopts, havecolor)
                sys.exit(0)
 
        if portage.wheelgid == portage.portage_gid:
@@ -3614,7 +3609,7 @@ if __name__ == "__main__":
                print "myopts", myopts
 
        if not myaction and not myfiles and "--resume" not in myopts:
-               help()
+               emergehelp.help(myaction, myopts, havecolor)
                sys.exit(1)
 
        # check if root user is the current user for the actions where emerge needs this