summaryrefslogtreecommitdiff
path: root/src/python/m5
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2006-07-13 15:48:41 -0400
committerAli Saidi <saidi@eecs.umich.edu>2006-07-13 15:48:41 -0400
commite1b8e71500b7b66b115345eeaef7216617487456 (patch)
treef3f2e576cad216c267d9ff9c360fd56585aa7c07 /src/python/m5
parentc368ff0bd8d36ba001f523bd03f56f99d9ecd452 (diff)
downloadgem5-e1b8e71500b7b66b115345eeaef7216617487456.tar.xz
fix help when no arguments are passed to m5
--HG-- extra : convert_revision : ee6614166fd5814654309298abe5a706ff02c4c2
Diffstat (limited to 'src/python/m5')
-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..afe73d94c 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
+ parser.print_help()
if exitcode is not None:
sys.exit(exitcode)