mirror of https://github.com/python/cpython
A little more tweakage
This commit is contained in:
parent
d81d534aef
commit
2858b43613
|
@ -282,7 +282,8 @@ class MainWindow:
|
||||||
|
|
||||||
def usage(msg='', code=1):
|
def usage(msg='', code=1):
|
||||||
print __doc__ % globals()
|
print __doc__ % globals()
|
||||||
print msg
|
if msg:
|
||||||
|
print msg
|
||||||
sys.exit(code)
|
sys.exit(code)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue