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.