We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2985050 commit f042a73Copy full SHA for f042a73
1 file changed
lib/parse/cmdline.py
@@ -43,7 +43,7 @@ def cmdLineParser():
43
44
checkSystemEncoding()
45
46
- _ = getUnicode(os.path.normpath(sys.argv[0]), encoding=sys.getfilesystemencoding())
+ _ = getUnicode(os.path.basename(sys.argv[0]), encoding=sys.getfilesystemencoding())
47
48
usage = "%s%s [options]" % ("python " if not IS_WIN else "", \
49
"\"%s\"" % _ if " " in _ else _)
0 commit comments