From: Ian Lance Taylor Date: Mon, 22 Jul 2019 22:52:37 +0000 (-0700) Subject: cmd/go: mention GODEBUG in "go help environment" X-Git-Tag: go1.13rc1~73 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=707f3e8c619674444c01b2af4a494732e136dcfd;p=gostls13.git cmd/go: mention GODEBUG in "go help environment" Change-Id: Id2c07ccba7c514ec3a4bbd493edbc68ae5cd6250 Reviewed-on: https://go-review.googlesource.com/c/go/+/187157 Run-TryBot: Ian Lance Taylor TryBot-Result: Gobot Gobot Reviewed-by: Rob Pike --- diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index 42b02c8171..f15ff16abe 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -1575,6 +1575,9 @@ // GOCACHE // The directory where the go command will store cached // information for reuse in future builds. +// GODEBUG +// Enable various debugging facilities. See 'go doc runtime' +// for details. // GOENV // The location of the Go environment configuration file. // Cannot be set using 'go env -w'. diff --git a/src/cmd/go/internal/help/helpdoc.go b/src/cmd/go/internal/help/helpdoc.go index c2b5fb4b83..dfb89d4910 100644 --- a/src/cmd/go/internal/help/helpdoc.go +++ b/src/cmd/go/internal/help/helpdoc.go @@ -493,6 +493,9 @@ General-purpose environment variables: GOCACHE The directory where the go command will store cached information for reuse in future builds. + GODEBUG + Enable various debugging facilities. See 'go doc runtime' + for details. GOENV The location of the Go environment configuration file. Cannot be set using 'go env -w'.