From: Zac Medico Date: Sun, 25 Jun 2006 19:34:18 +0000 (-0000) Subject: Remove the help() function. X-Git-Tag: v2.1.1~384 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4304e67493807f9f7332b4231fd33d5c1e0d38d9;p=portage.git Remove the help() function. svn path=/main/trunk/; revision=3656 --- diff --git a/bin/emerge b/bin/emerge index f14d550ea..2c395af7b 100755 --- a/bin/emerge +++ b/bin/emerge @@ -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