mirror of
https://github.com/golang/go.git
synced 2025-05-30 19:52:53 +00:00
cmd/go: document that GOENV=off disables the default config file
Fixes #46840 Change-Id: Icc5475e312003e316dc039413a35089485163ba6 Reviewed-on: https://go-review.googlesource.com/c/go/+/381894 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Trust: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
a6a7c7a1fd
commit
36b81acfa1
@ -2036,6 +2036,8 @@
|
||||
// GOENV
|
||||
// The location of the Go environment configuration file.
|
||||
// Cannot be set using 'go env -w'.
|
||||
// Setting GOENV=off in the environment disables the use of the
|
||||
// default configuration file.
|
||||
// GOFLAGS
|
||||
// A space-separated list of -flag=value settings to apply
|
||||
// to go commands by default, when the given flag is known by
|
||||
|
@ -506,6 +506,8 @@ General-purpose environment variables:
|
||||
GOENV
|
||||
The location of the Go environment configuration file.
|
||||
Cannot be set using 'go env -w'.
|
||||
Setting GOENV=off in the environment disables the use of the
|
||||
default configuration file.
|
||||
GOFLAGS
|
||||
A space-separated list of -flag=value settings to apply
|
||||
to go commands by default, when the given flag is known by
|
||||
|
Loading…
x
Reference in New Issue
Block a user