diff options
Diffstat (limited to 'buildscripts/combine_reports.py')
-rwxr-xr-x | buildscripts/combine_reports.py | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/buildscripts/combine_reports.py b/buildscripts/combine_reports.py index cbfbaf9d65d..e59cc29f172 100755 --- a/buildscripts/combine_reports.py +++ b/buildscripts/combine_reports.py @@ -1,5 +1,4 @@ #!/usr/bin/env python - """ Combines JSON report files used in Evergreen """ @@ -53,15 +52,11 @@ def check_error(input_count, output_count): def main(): usage = "usage: %prog [options] report1.json report2.json ..." parser = OptionParser(description=__doc__, usage=usage) - parser.add_option("-o", "--output-file", - dest="outfile", - default="-", - help="If '-', then the combined report file is written to stdout." - " Any other value is treated as the output file name. By default," - " output is written to stdout.") - parser.add_option("-x", "--no-report-exit", - dest="report_exit", - default=True, + parser.add_option("-o", "--output-file", dest="outfile", default="-", + help=("If '-', then the combined report file is written to stdout." + " Any other value is treated as the output file name. By default," + " output is written to stdout.")) + parser.add_option("-x", "--no-report-exit", dest="report_exit", default=True, action="store_false", help="Do not exit with a non-zero code if any test in the report fails.") |