From 94dd369fcdefd04cc3d32b8bbf5746e2636d5985 Mon Sep 17 00:00:00 2001 From: Kevin Lim Date: Thu, 27 Jul 2006 17:37:28 -0400 Subject: [PATCH] Output the command line. src/python/m5/main.py: Output the command line being used. --HG-- extra : convert_revision : 51dadb0ef79ca1e8bbb5a3bd64110071c30ade0d --- src/python/m5/main.py | 4 ++++ 1 file changed, 4 insertions(+) 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]):