main: fix typos in flag usage messages
Этот коммит содержится в:
родитель
63aaa43072
коммит
66d3c4edb8
1 изменённых файлов: 2 добавлений и 2 удалений
4
main.go
4
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")
|
||||
}
|
||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче