summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/python')
-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