Patch #785689: Use basename in usage. Backported to 2.3.

This commit is contained in:
Martin v. Löwis 2003-10-31 13:05:21 +00:00
parent be4fea6198
commit f9b08b8e60
1 changed files with 1 additions and 1 deletions

View File

@ -2167,7 +2167,7 @@ def cli():
print value
except (getopt.error, BadUsage):
cmd = sys.argv[0]
cmd = os.path.basename(sys.argv[0])
print """pydoc - the Python documentation tool
%s <name> ...