From: Ian Lance Taylor Date: Wed, 5 Jun 2024 16:30:34 +0000 (-0700) Subject: cmd/go: add pointer to build flags in "go get" docs X-Git-Tag: go1.23rc1~64 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=fbe478521f35ce368a6de476f373478a3d83a189;p=gostls13.git cmd/go: add pointer to build flags in "go get" docs Fixes #67728 Change-Id: Ifbdee77dcebd865eac9501ec4615128eb3a9c9c0 Reviewed-on: https://go-review.googlesource.com/c/go/+/590797 LUCI-TryBot-Result: Go LUCI Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor Reviewed-by: Michael Matloob Commit-Queue: Ian Lance Taylor --- diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index ad8e17e358..bc198267c2 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -721,6 +721,8 @@ // debugging version control commands when a module is downloaded directly // from a repository. // +// For more about build flags, see 'go help build'. +// // For more about modules, see https://golang.org/ref/mod. // // For more about using 'go get' to update the minimum Go version and diff --git a/src/cmd/go/internal/modget/get.go b/src/cmd/go/internal/modget/get.go index 9a02fcdd96..73431285b9 100644 --- a/src/cmd/go/internal/modget/get.go +++ b/src/cmd/go/internal/modget/get.go @@ -113,6 +113,8 @@ The -x flag prints commands as they are executed. This is useful for debugging version control commands when a module is downloaded directly from a repository. +For more about build flags, see 'go help build'. + For more about modules, see https://golang.org/ref/mod. For more about using 'go get' to update the minimum Go version and