traceflags: fix --trace-help

This commit is contained in:
Nathan Binkert
2009-02-15 20:39:12 -08:00
parent de72083805
commit e0f425bb94
3 changed files with 19 additions and 18 deletions

View File

@@ -38,19 +38,6 @@ from options import OptionParser
__all__ = [ 'options', 'arguments', 'main' ]
def print_list(items, indent=4):
line = ' ' * indent
for i,item in enumerate(items):
if len(line) + len(item) > 76:
print line
line = ' ' * indent
if i < len(items) - 1:
line += '%s, ' % item
else:
line += item
print line
usage="%prog [m5 options] script.py [script options]"
version="%prog 2.0"
brief_copyright='''