summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2006-07-11 11:28:59 -0400
committerNathan Binkert <binkertn@umich.edu>2006-07-11 11:28:59 -0400
commit7078d8d1b42c1a158c854b3e07800f20aa695bfb (patch)
treefee4bbd0c1bfb45b7abec14e944400852f90b468
parent55ea050d4823ca294db94d6a1f7f2fc35177e044 (diff)
downloadgem5-7078d8d1b42c1a158c854b3e07800f20aa695bfb.tar.xz
Fix option parsing.
src/python/m5/main.py: Don't allow interspersed arguments, it messes things up --HG-- extra : convert_revision : 8f1bcf4391f570741d92bf5420879862a48f6016
-rw-r--r--src/python/m5/main.py1
1 files changed, 1 insertions, 0 deletions
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