summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-07-13 12:21:21 -0400
committerKevin Lim <ktlim@umich.edu>2006-07-13 12:21:21 -0400
commit63c999edef982e995ab65e0a3d672b0d7900c6f3 (patch)
tree211a92393a411079106d50114af9ed271f57ae44
parent2bc9229ea7195b307222bad6de966ea4a27a3f6b (diff)
downloadgem5-63c999edef982e995ab65e0a3d672b0d7900c6f3.tar.xz
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
-rw-r--r--src/python/m5/main.py2
1 files changed, 1 insertions, 1 deletions
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)