Fix help message printing. Might need to clean up the handling of the sys.exit() call, as right now it prints out "None" at the end (not sure why).

src/python/m5/main.py:
    Fix help message printing.

--HG--
extra : convert_revision : 6906234101eb7ff7df7933e9aede0362b5a991bd
This commit is contained in:
Kevin Lim 2006-07-13 12:21:21 -04:00
parent 2bc9229ea7
commit 63c999edef

View file

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