X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Futils%2Fpython%2Ftap%2Fmain.py;fp=tests%2Futils%2Fpython%2Ftap%2Fmain.py;h=04937f5c6223c7218d345747376be5671d9498c1;hp=784b6466df55ab5fc86c16d0628ad7180e3d3eef;hb=768f9bcbf4b5acd09dda85ab32c0ea30d8826136;hpb=53a47a3f01d6bfa4e940e1943e7645cb89d04cd5 diff --git a/tests/utils/python/tap/main.py b/tests/utils/python/tap/main.py index 784b6466..04937f5c 100644 --- a/tests/utils/python/tap/main.py +++ b/tests/utils/python/tap/main.py @@ -34,15 +34,26 @@ def parse_args(argv): description = _('A TAP consumer for Python') epilog = _( 'When no files are given or a dash (-) is used for the file name, ' - 'tappy will read a TAP stream from STDIN.') + 'tappy will read a TAP stream from STDIN.' + ) parser = argparse.ArgumentParser(description=description, epilog=epilog) parser.add_argument( - 'files', metavar='FILE', nargs='*', help=_( + 'files', + metavar='FILE', + nargs='*', + help=_( 'A file containing TAP output. Any directories listed will be ' - 'scanned for files to include as TAP files.')) + 'scanned for files to include as TAP files.' + ), + ) parser.add_argument( - '-v', '--verbose', action='store_const', default=1, const=2, - help=_('use verbose messages')) + '-v', + '--verbose', + action='store_const', + default=1, + const=2, + help=_('use verbose messages'), + ) # argparse expects the executable to be removed from argv. args = parser.parse_args(argv[1:])