projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55ea050
)
Fix option parsing.
author
Nathan Binkert
<binkertn@umich.edu>
Tue, 11 Jul 2006 15:28:59 +0000
(11:28 -0400)
committer
Nathan Binkert
<binkertn@umich.edu>
Tue, 11 Jul 2006 15:28:59 +0000
(11:28 -0400)
src/python/m5/main.py:
Don't allow interspersed arguments, it messes things up
--HG--
extra : convert_revision :
8f1bcf4391f570741d92bf5420879862a48f6016
src/python/m5/main.py
patch
|
blob
|
history
diff --git
a/src/python/m5/main.py
b/src/python/m5/main.py
index b4c89f61253c0a563e1fee8a5f6de1739e8fbadc..904b241ca9c976575aeca209277a8279e33925b5 100644
(file)
--- 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