main.py (7458:72af7f65f117) main.py (7974:13692327bb0b)
1# Copyright (c) 2005 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 47 unchanged lines hidden (view full) ---

56add_option('-A', "--authors", action="store_true", default=False,
57 help="Show author information")
58add_option('-B', "--build-info", action="store_true", default=False,
59 help="Show build information")
60add_option('-C', "--copyright", action="store_true", default=False,
61 help="Show full copyright information")
62add_option('-R', "--readme", action="store_true", default=False,
63 help="Show the readme")
1# Copyright (c) 2005 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 47 unchanged lines hidden (view full) ---

56add_option('-A', "--authors", action="store_true", default=False,
57 help="Show author information")
58add_option('-B', "--build-info", action="store_true", default=False,
59 help="Show build information")
60add_option('-C', "--copyright", action="store_true", default=False,
61 help="Show full copyright information")
62add_option('-R', "--readme", action="store_true", default=False,
63 help="Show the readme")
64add_option('-N', "--release-notes", action="store_true", default=False,
65 help="Show the release notes")
66
67# Options for configuring the base simulator
68add_option('-d', "--outdir", metavar="DIR", default="m5out",
69 help="Set the output directory to DIR [Default: %default]")
70add_option('-r', "--redirect-stdout", action="store_true", default=False,
71 help="Redirect stdout (& stderr, without -e) to file")
72add_option('-e', "--redirect-stderr", action="store_true", default=False,
73 help="Redirect stderr to file")

--- 128 unchanged lines hidden (view full) ---

202
203 if options.readme:
204 done = True
205 print 'Readme:'
206 print
207 print info.README
208 print
209
64
65# Options for configuring the base simulator
66add_option('-d', "--outdir", metavar="DIR", default="m5out",
67 help="Set the output directory to DIR [Default: %default]")
68add_option('-r', "--redirect-stdout", action="store_true", default=False,
69 help="Redirect stdout (& stderr, without -e) to file")
70add_option('-e', "--redirect-stderr", action="store_true", default=False,
71 help="Redirect stderr to file")

--- 128 unchanged lines hidden (view full) ---

200
201 if options.readme:
202 done = True
203 print 'Readme:'
204 print
205 print info.README
206 print
207
210 if options.release_notes:
211 done = True
212 print 'Release Notes:'
213 print
214 print info.RELEASE_NOTES
215 print
216
217 if options.trace_help:
218 done = True
219 check_tracing()
220 trace.help()
221
222 if options.list_sim_objects:
223 import SimObject
224 done = True

--- 155 unchanged lines hidden ---
208 if options.trace_help:
209 done = True
210 check_tracing()
211 trace.help()
212
213 if options.list_sim_objects:
214 import SimObject
215 done = True

--- 155 unchanged lines hidden ---