aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/internal/help/helpdoc.go
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2021-09-17 22:34:15 +0200
committerMatthew Dempsky <mdempsky@google.com>2021-09-17 21:29:32 +0000
commit3fa7dbeff53b56edd98f295bd0c34423c080ac57 (patch)
treea45d5f6e0b47da38de3c91ebea98c090549ca50d /src/cmd/go/internal/help/helpdoc.go
parent974b0166d6a7c20b98f7e517e49197bea46fc5e2 (diff)
downloadgo-3fa7dbeff53b56edd98f295bd0c34423c080ac57.tar.gz
go-3fa7dbeff53b56edd98f295bd0c34423c080ac57.zip
cmd/go: fix GOARCH value in GOAMD64 docs
GOAMD64 is for GOARCH=amd64. Fix the GOAMD64 environment variable docs introduced by CL 349595. Change-Id: I794990ebe2e306d21ed275446fc52373bfe4ae7d Reviewed-on: https://go-review.googlesource.com/c/go/+/350534 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/cmd/go/internal/help/helpdoc.go')
-rw-r--r--src/cmd/go/internal/help/helpdoc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/internal/help/helpdoc.go b/src/cmd/go/internal/help/helpdoc.go
index 91876cefe0..749dcf192b 100644
--- a/src/cmd/go/internal/help/helpdoc.go
+++ b/src/cmd/go/internal/help/helpdoc.go
@@ -593,7 +593,7 @@ Architecture-specific environment variables:
For GOARCH=386, how to implement floating point instructions.
Valid values are sse2 (default), softfloat.
GOAMD64
- For GOARCH=GOAMD64, the microarchitecture level for which to compile.
+ For GOARCH=amd64, the microarchitecture level for which to compile.
Valid values are v1 (default), v2, v3, v4.
See https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels.
GOMIPS