Gabe Black has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/50708 )
Change subject: python: Get rid of version arg in OptionParser constructor.
......................................................................
python: Get rid of version arg in OptionParser constructor.
This will report that gem5 is version 2.0, which is WILDLY out of date.
There are other ways of reporting the version of gem5 which are actually
kept up to date.
Change-Id: Ie09cdc8f3ef59696fe197c3491db102bda41ade0
---
M src/python/m5/main.py
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/python/m5/main.py b/src/python/m5/main.py
index 37a7002..b81da7a 100644
--- a/src/python/m5/main.py
+++ b/src/python/m5/main.py
@@ -45,7 +45,6 @@
__all__ = [ 'options', 'arguments', 'main' ]
usage="%prog [gem5 options] script.py [script options]"
-version="%prog 2.0"
brief_copyright=\
"gem5 is copyrighted software; use the --copyright option for details."
@@ -65,8 +64,7 @@
from . import config
from .options import OptionParser
- options = OptionParser(usage=usage, version=version,
- description=brief_copyright)
+ options = OptionParser(usage=usage, description=brief_copyright)
option = options.add_option
group = options.set_group
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/50708
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ie09cdc8f3ef59696fe197c3491db102bda41ade0
Gerrit-Change-Number: 50708
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s