From c06f50d3054c9816f6cf202e5f01cf723916703c Mon Sep 17 00:00:00 2001 From: sharkdp Date: Mon, 7 Oct 2019 18:44:55 +0200 Subject: [PATCH] Add help text --- scripts/welch_ttest.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/welch_ttest.py b/scripts/welch_ttest.py index d8a8097..ea6c657 100755 --- a/scripts/welch_ttest.py +++ b/scripts/welch_ttest.py @@ -1,11 +1,15 @@ #!/usr/bin/python +"""This script performs Welch's t-test on a JSON export file with two +benchmark results to test whether or not the two distributions are +the same.""" + import argparse import json import sys from scipy import stats -parser = argparse.ArgumentParser() +parser = argparse.ArgumentParser(description=__doc__) parser.add_argument("file", help="JSON file with two benchmark results") args = parser.parse_args()