From: Ali Saidi Date: Thu, 13 Jul 2006 19:48:41 +0000 (-0400) Subject: fix help when no arguments are passed to m5 X-Git-Tag: m5_2.0_beta1~67^2~6^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e1b8e71500b7b66b115345eeaef7216617487456;p=gem5.git fix help when no arguments are passed to m5 --HG-- extra : convert_revision : ee6614166fd5814654309298abe5a706ff02c4c2 --- 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)