From: Kevin Lim Date: Thu, 13 Jul 2006 16:21:21 +0000 (-0400) Subject: Fix help message printing. Might need to clean up the handling of the sys.exit(... X-Git-Tag: m5_2.0_beta1~67^2~10 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63c999edef982e995ab65e0a3d672b0d7900c6f3;p=gem5.git 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 --- diff --git a/src/python/m5/main.py b/src/python/m5/main.py index 54c54c1d5..aae74d371 100644 --- a/src/python/m5/main.py +++ b/src/python/m5/main.py @@ -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)