]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: add pointer to build flags in "go get" docs
authorIan Lance Taylor <iant@golang.org>
Wed, 5 Jun 2024 16:30:34 +0000 (09:30 -0700)
committerGopher Robot <gobot@golang.org>
Fri, 7 Jun 2024 18:26:32 +0000 (18:26 +0000)
Fixes #67728

Change-Id: Ifbdee77dcebd865eac9501ec4615128eb3a9c9c0
Reviewed-on: https://go-review.googlesource.com/c/go/+/590797
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Commit-Queue: Ian Lance Taylor <iant@google.com>

src/cmd/go/alldocs.go
src/cmd/go/internal/modget/get.go

index ad8e17e3585130404d1e1b8c65148cbb1f0dee5d..bc198267c2374dc405d12166811bef6c04294a63 100644 (file)
 // 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
index 9a02fcdd9620224c368759b533848a6ce44037f6..73431285b9f4539f8e681e2628d0294a2262445b 100644 (file)
@@ -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