Kaydet (Commit) f9b08b8e authored tarafından Martin v. Löwis's avatar Martin v. Löwis

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

üst be4fea61
......@@ -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> ...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment