ceph/scripts/ls.py

23 lines
513 B
Python
Raw Normal View History

import argparse
import teuthology.ls
def main():
teuthology.ls.main(parse_args())
def parse_args():
parser = argparse.ArgumentParser(description='List teuthology job results')
parser.add_argument(
'archive_dir',
metavar='DIR',
default='.',
help='path under which to archive results',
)
parser.add_argument(
'-v', '--verbose',
action='store_true', default=False,
help='show reasons tests failed',
)
return parser.parse_args()