summaryrefslogtreecommitdiff
path: root/src/python/m5/main.py
diff options
context:
space:
mode:
authorKevin Lim <ktlim@umich.edu>2006-07-27 17:37:28 -0400
committerKevin Lim <ktlim@umich.edu>2006-07-27 17:37:28 -0400
commit94dd369fcdefd04cc3d32b8bbf5746e2636d5985 (patch)
tree54b784f6e344bb01781d0173a2f2817a26c9ed7e /src/python/m5/main.py
parent52c3991182c06439cc59d2ce59c9f3c6c968e0c2 (diff)
downloadgem5-94dd369fcdefd04cc3d32b8bbf5746e2636d5985.tar.xz
Output the command line.
src/python/m5/main.py: Output the command line being used. --HG-- extra : convert_revision : 51dadb0ef79ca1e8bbb5a3bd64110071c30ade0d
Diffstat (limited to 'src/python/m5/main.py')
-rw-r--r--src/python/m5/main.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/python/m5/main.py b/src/python/m5/main.py
index a757aaf1a..293c4dbca 100644
--- 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]):