From 8564fede8929df5bbf9f10d35ff9d3620683ca80 Mon Sep 17 00:00:00 2001 From: matloob Date: Wed, 17 Dec 2025 11:30:52 -0500 Subject: [PATCH] cmd/go: remove reference to no longer existing -i flag The flag was removed in CL 416094. Fixes #76850 Change-Id: Ia219b4d2d8391f08487b4ff1bbec43766a6a6964 Reviewed-on: https://go-review.googlesource.com/c/go/+/730721 LUCI-TryBot-Result: Go LUCI Reviewed-by: Michael Matloob Reviewed-by: Alan Donovan --- src/cmd/go/alldocs.go | 2 +- src/cmd/go/internal/test/test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index fe9b862073..8c346dafdb 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -1954,7 +1954,7 @@ // // -o file // Save a copy of the test binary to the named file. -// The test still runs (unless -c or -i is specified). +// The test still runs (unless -c is specified). // If file ends in a slash or names an existing directory, // the test is written to pkg.test in that directory. // diff --git a/src/cmd/go/internal/test/test.go b/src/cmd/go/internal/test/test.go index 916943904d..9309aa65ed 100644 --- a/src/cmd/go/internal/test/test.go +++ b/src/cmd/go/internal/test/test.go @@ -163,7 +163,7 @@ In addition to the build flags, the flags handled by 'go test' itself are: -o file Save a copy of the test binary to the named file. - The test still runs (unless -c or -i is specified). + The test still runs (unless -c is specified). If file ends in a slash or names an existing directory, the test is written to pkg.test in that directory.