summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-05-23 01:43:08 (GMT)
committerGreg Ward <gward@python.net>2000-05-23 01:43:08 (GMT)
commit732745bb70a81f2d2edd41562a81bb7e26948ebe (patch)
tree2e67dc44602d57fca346f05ba14b02e44fa547f6 /Lib
parentd5d8a9982b77ef54fcacf8ff7bfa449a2eab35db (diff)
downloadcpython-732745bb70a81f2d2edd41562a81bb7e26948ebe.zip
cpython-732745bb70a81f2d2edd41562a81bb7e26948ebe.tar.gz
cpython-732745bb70a81f2d2edd41562a81bb7e26948ebe.tar.bz2
Tweaked usage message.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py
index a39bccd..3eeba1d 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):