fix help when no arguments are passed to m5
--HG-- extra : convert_revision : ee6614166fd5814654309298abe5a706ff02c4c2
This commit is contained in:
parent
c368ff0bd8
commit
e1b8e71500
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ options = attrdict()
|
||||||
arguments = []
|
arguments = []
|
||||||
|
|
||||||
def usage(exitcode=None):
|
def usage(exitcode=None):
|
||||||
print parser.help
|
parser.print_help()
|
||||||
if exitcode is not None:
|
if exitcode is not None:
|
||||||
sys.exit(exitcode)
|
sys.exit(exitcode)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue