diff options
author | Nathan Binkert <nate@binkert.org> | 2011-06-02 17:36:07 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2011-06-02 17:36:07 -0700 |
commit | 0c424344facaa2b388cba814f08ef5622f8e122b (patch) | |
tree | 5386a973bf1f9a4dcd77a6ae6a89e6b2fb716fdc /src/python/m5/main.py | |
parent | f656787edb2f7f6d95f267fdd91bbcd67f7305ac (diff) | |
download | gem5-0c424344facaa2b388cba814f08ef5622f8e122b.tar.xz |
copyright: Add code for finding all copyright blocks and create a COPYING file
The end of the COPYING file was generated with:
% python ./util/find_copyrights.py configs src system tests util
Update -C command line option to spit out COPYING file
Diffstat (limited to 'src/python/m5/main.py')
-rw-r--r-- | src/python/m5/main.py | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/src/python/m5/main.py b/src/python/m5/main.py index 0b330d000..58de62cc3 100644 --- a/src/python/m5/main.py +++ b/src/python/m5/main.py @@ -36,11 +36,8 @@ __all__ = [ 'options', 'arguments', 'main' ] usage="%prog [gem5 options] script.py [script options]" version="%prog 2.0" -brief_copyright=''' -Copyright (c) 2001-2011 -The Regents of The University of Michigan -All Rights Reserved -''' +brief_copyright=\ + "gem5 is copyrighted software; use the --copyright option for details." def parse_options(): import config @@ -52,8 +49,6 @@ def parse_options(): group = options.set_group # Help options - option('-A', "--authors", action="store_true", default=False, - help="Show author information") option('-B', "--build-info", action="store_true", default=False, help="Show build information") option('-C', "--copyright", action="store_true", default=False, @@ -211,14 +206,7 @@ def main(*args): if options.copyright: done = True - print info.LICENSE - print - - if options.authors: - done = True - print 'Author information:' - print - print info.AUTHORS + print info.COPYING print if options.readme: @@ -263,7 +251,7 @@ def main(*args): verbose = options.verbose - options.quiet if options.verbose >= 0: - print "gem5 Simulator System" + print "gem5 Simulator System. http://gem5.org" print brief_copyright print |