minor update of usage string

This commit is contained in:
Miroslav Stampar 2011-04-19 20:14:56 +00:00
parent fc90974940
commit b7efa255d6

View File

@ -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: