From: Kevin Lim Date: Thu, 27 Jul 2006 21:37:28 +0000 (-0400) Subject: Output the command line. X-Git-Tag: m5_2.0_beta1~53 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=94dd369fcdefd04cc3d32b8bbf5746e2636d5985;p=gem5.git Output the command line. src/python/m5/main.py: Output the command line being used. --HG-- extra : convert_revision : 51dadb0ef79ca1e8bbb5a3bd64110071c30ade0d --- 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]):