From: Michael Pratt Date: Mon, 10 Nov 2025 21:19:36 +0000 (-0500) Subject: internal/trace/testtrace: fix flag name typos X-Git-Tag: go1.26rc1~328 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=951cf0501b57d31e648f2808820f2c7eaca3edc8;p=gostls13.git internal/trace/testtrace: fix flag name typos Change-Id: I6a6a636cd82a3e22a482ea2b2ab1004c45e2c304 Reviewed-on: https://go-review.googlesource.com/c/go/+/719400 Auto-Submit: Michael Pratt Reviewed-by: Michael Knyszek LUCI-TryBot-Result: Go LUCI --- diff --git a/src/internal/trace/testtrace/helpers.go b/src/internal/trace/testtrace/helpers.go index ef676a9a14..c4c404a304 100644 --- a/src/internal/trace/testtrace/helpers.go +++ b/src/internal/trace/testtrace/helpers.go @@ -37,7 +37,7 @@ func Dump(t *testing.T, testName string, traceBytes []byte, forceToFile bool) { t.Logf("text trace too large to dump (%d bytes)", len(s)) } else { t.Log(s) - t.Log("Convert this to a raw trace with `go test internal/trace/testtrace -covert in.tracetxt -out out.trace`") + t.Log("Convert this to a raw trace with `go test internal/trace/testtrace -convert in.tracetxt -out out.trace`") } } else { // We asked to dump the trace or failed. Write the trace to a file. diff --git a/src/internal/trace/testtrace/helpers_test.go b/src/internal/trace/testtrace/helpers_test.go index 3b874ac631..526f8d6a8b 100644 --- a/src/internal/trace/testtrace/helpers_test.go +++ b/src/internal/trace/testtrace/helpers_test.go @@ -32,7 +32,7 @@ func TestConvertDump(t *testing.T) { t.Skip("Set -convert to convert a trace text file") } if *output == "" { - t.Fatal("Set -o to specify conversion output") + t.Fatal("Set -out to specify conversion output") } if err := convertDump(*convert, *output); err != nil {