Output the command line.
src/python/m5/main.py: Output the command line being used. --HG-- extra : convert_revision : 51dadb0ef79ca1e8bbb5a3bd64110071c30ade0d
This commit is contained in:
parent
52c3991182
commit
94dd369fcd
1 changed files with 4 additions and 0 deletions
|
@ -246,6 +246,10 @@ def main():
|
||||||
print "M5 compiled %s" % cc_main.cvar.compileDate;
|
print "M5 compiled %s" % cc_main.cvar.compileDate;
|
||||||
print "M5 started %s" % datetime.now().ctime()
|
print "M5 started %s" % datetime.now().ctime()
|
||||||
print "M5 executing on %s" % socket.gethostname()
|
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
|
# check to make sure we can find the listed script
|
||||||
if not arguments or not os.path.isfile(arguments[0]):
|
if not arguments or not os.path.isfile(arguments[0]):
|
||||||
|
|
Loading…
Reference in a new issue