fix help when no arguments are passed to m5

--HG--
extra : convert_revision : ee6614166fd5814654309298abe5a706ff02c4c2
This commit is contained in:
Ali Saidi 2006-07-13 15:48:41 -04:00
parent c368ff0bd8
commit e1b8e71500

View file

@ -182,7 +182,7 @@ options = attrdict()
arguments = []
def usage(exitcode=None):
print parser.help
parser.print_help()
if exitcode is not None:
sys.exit(exitcode)