]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: mention GODEBUG in "go help environment"
authorIan Lance Taylor <iant@golang.org>
Mon, 22 Jul 2019 22:52:37 +0000 (15:52 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 23 Jul 2019 00:37:29 +0000 (00:37 +0000)
Change-Id: Id2c07ccba7c514ec3a4bbd493edbc68ae5cd6250
Reviewed-on: https://go-review.googlesource.com/c/go/+/187157
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
src/cmd/go/alldocs.go
src/cmd/go/internal/help/helpdoc.go

index 42b02c81717bd9caa0950f3234194c902a9611df..f15ff16abecbfca3f91f90911c454ffc60624bc5 100644 (file)
 //     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'.
index c2b5fb4b83071048221136d6cf3d581b37e8c288..dfb89d4910bf7c8dc3ee2eff9bd6e1705c627f32 100644 (file)
@@ -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'.