From: Nathan Binkert Date: Tue, 11 Jul 2006 15:28:59 +0000 (-0400) Subject: Fix option parsing. X-Git-Tag: m5_2.0_beta1~36^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7078d8d1b42c1a158c854b3e07800f20aa695bfb;p=gem5.git Fix option parsing. src/python/m5/main.py: Don't allow interspersed arguments, it messes things up --HG-- extra : convert_revision : 8f1bcf4391f570741d92bf5420879862a48f6016 --- diff --git a/src/python/m5/main.py b/src/python/m5/main.py index b4c89f612..904b241ca 100644 --- a/src/python/m5/main.py +++ b/src/python/m5/main.py @@ -50,6 +50,7 @@ All Rights Reserved parser = optparse.OptionParser(usage=usage, version=version, description=brief_copyright, formatter=optparse.TitledHelpFormatter()) +parser.disable_interspersed_args() # current option group group = None