projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52c3991
)
Output the command line.
author
Kevin Lim
<ktlim@umich.edu>
Thu, 27 Jul 2006 21:37:28 +0000
(17:37 -0400)
committer
Kevin Lim
<ktlim@umich.edu>
Thu, 27 Jul 2006 21:37:28 +0000
(17:37 -0400)
src/python/m5/main.py:
Output the command line being used.
--HG--
extra : convert_revision :
51dadb0ef79ca1e8bbb5a3bd64110071c30ade0d
src/python/m5/main.py
patch
|
blob
|
history
diff --git
a/src/python/m5/main.py
b/src/python/m5/main.py
index a757aaf1af88acdc9d9f630aa26d419118a7b18d..293c4dbca4ae01d25cf7fd57b8307615d1233aa3 100644
(file)
--- a/
src/python/m5/main.py
+++ b/
src/python/m5/main.py
@@
-246,6
+246,10
@@
def main():
print "M5 compiled %s" % cc_main.cvar.compileDate;
print "M5 started %s" % datetime.now().ctime()
print "M5 executing on %s" % socket.gethostname()
+ print "command line:",
+ for argv in sys.argv:
+ print argv,
+ print
# check to make sure we can find the listed script
if not arguments or not os.path.isfile(arguments[0]):