From: Greg Ward Date: Tue, 23 May 2000 01:43:08 +0000 (+0000) Subject: Tweaked usage message. X-Git-Tag: v2.0b1~1704 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=732745bb70a81f2d2edd41562a81bb7e26948ebe;p=thirdparty%2FPython%2Fcpython.git Tweaked usage message. --- diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py index a39bccd30787..3eeba1df7e85 100644 --- a/Lib/distutils/core.py +++ b/Lib/distutils/core.py @@ -21,10 +21,10 @@ from distutils.cmd import Command # and per-command help. usage = """\ usage: %s [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] - or: %s --help + or: %s --help [cmd1 cmd2 ...] or: %s --help-commands or: %s cmd --help -""" % ((sys.argv[0],) * 4) +""" % ((os.path.basename(sys.argv[0]),) * 4) def setup (**attrs):