diff --git a/cmd/benchcmp/benchcmp.go b/cmd/benchcmp/benchcmp.go index 6cc4205bf7..9bfe2e3419 100644 --- a/cmd/benchcmp/benchcmp.go +++ b/cmd/benchcmp/benchcmp.go @@ -21,7 +21,7 @@ var ( const usageFooter = ` Each input file should be from: - go test -test.run=NONE -test.bench=. > [old,new].txt + go test -run=NONE -bench=. > [old,new].txt Benchcmp compares old and new for each benchmark.