ceph/scripts/ls.py
Andrew Schoen dface638c1 port teuthology-ls to use docopt instead of argparse
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2014-11-25 15:09:27 -06:00

20 lines
393 B
Python

"""
usage: teuthology-ls [-h] [-v] <archive_dir>
List teuthology job results
positional arguments:
<archive_dir> path under which to archive results
optional arguments:
-h, --help show this help message and exit
-v, --verbose show reasons tests failed
"""
import docopt
import teuthology.ls
def main():
args = docopt.docopt(__doc__)
teuthology.ls.main(args)