diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-07-27 17:37:28 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-07-27 17:37:28 -0400 |
commit | 94dd369fcdefd04cc3d32b8bbf5746e2636d5985 (patch) | |
tree | 54b784f6e344bb01781d0173a2f2817a26c9ed7e /src/python/m5/main.py | |
parent | 52c3991182c06439cc59d2ce59c9f3c6c968e0c2 (diff) | |
download | gem5-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.py | 4 |
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]): |