From a3a96aed765e2cc401b8dc555bd0e925c9d9a685 Mon Sep 17 00:00:00 2001 From: PJ Eby Date: Mon, 8 Oct 2007 11:49:52 +0000 Subject: Prevent ``--help-commands`` and other junk from showing under Python 2.5 when running ``easy_install --help``. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4058374 --- setuptools/command/easy_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/command/easy_install.py') diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index c1d2fe4f..0bebe698 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -1661,6 +1661,7 @@ usage: %(script)s [options] requirement_or_url ... distutils.core.gen_usage = old_gen_usage class DistributionWithoutHelpCommands(Distribution): + common_usage = "" def _show_help(self,*args,**kw): with_ei_usage(lambda: Distribution._show_help(self,*args,**kw)) @@ -1678,4 +1679,3 @@ usage: %(script)s [options] requirement_or_url ... - -- cgit v1.2.1