From b7efa255d6ded2105b0c203d537e722c07505157 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 19 Apr 2011 20:14:56 +0000 Subject: [PATCH] minor update of usage string --- lib/parse/cmdline.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/parse/cmdline.py b/lib/parse/cmdline.py index e7c0ca4e5..ba88914ad 100644 --- a/lib/parse/cmdline.py +++ b/lib/parse/cmdline.py @@ -26,7 +26,8 @@ def cmdLineParser(): This function parses the command line parameters and arguments """ - usage = "python %s [options]" % sys.argv[0] + usage = "%s%s [options]" % ("python " if not IS_WIN else "",\ + "\"%s\"" % sys.argv[0] if " " in sys.argv[0] else sys.argv[0]) parser = OptionParser(usage=usage, version=VERSION_STRING) try: