From 66d3c4edb8a8cc69441b1bd3852c9b30276906a3 Mon Sep 17 00:00:00 2001 From: Damian Gryski Date: Fri, 31 Mar 2023 17:01:43 -0700 Subject: [PATCH] main: fix typos in flag usage messages --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 6545779f..093e89f4 100644 --- a/main.go +++ b/main.go @@ -1437,9 +1437,9 @@ func main() { flag.BoolVar(&testConfig.Verbose, "v", false, "verbose: print additional output") flag.BoolVar(&testConfig.Short, "short", false, "short: run smaller test suite to save time") flag.StringVar(&testConfig.RunRegexp, "run", "", "run: regexp of tests to run") - flag.StringVar(&testConfig.SkipRegexp, "skip", "", "run: regexp of tests to run") + flag.StringVar(&testConfig.SkipRegexp, "skip", "", "skip: regexp of tests to skip") testConfig.Count = flag.Int("count", 1, "count: number of times to run tests/benchmarks `count` times") - flag.StringVar(&testConfig.BenchRegexp, "bench", "", "run: regexp of benchmarks to run") + flag.StringVar(&testConfig.BenchRegexp, "bench", "", "bench: regexp of benchmarks to run") flag.StringVar(&testConfig.BenchTime, "benchtime", "", "run each benchmark for duration `d`") flag.BoolVar(&testConfig.BenchMem, "benchmem", false, "show memory stats for benchmarks") }