1
0
mirror of https://github.com/golang/go synced 2024-11-07 07:26:11 -07:00

cmd/go: unify the format of the go help xxx command

Fixes #58871
Updates #58871

Change-Id: I947b71083e9559859b3ae6e17b5daad03a976707
Reviewed-on: https://go-review.googlesource.com/c/go/+/474375
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
This commit is contained in:
cui fliter 2023-03-08 19:00:51 +08:00 committed by Gopher Robot
parent 50ba90bce5
commit bcd8161f4e
3 changed files with 8 additions and 2 deletions

View File

@ -758,7 +758,8 @@
// Setting GODEBUG=installgoroot=all restores the use of
// $GOROOT/pkg/$GOOS_$GOARCH.
//
// For more about the build flags, see 'go help build'.
// For more about build flags, see 'go help build'.
//
// For more about specifying packages, see 'go help packages'.
//
// See also: go build, go get, go clean.
@ -2552,6 +2553,8 @@
//
// Get never checks out or updates code stored in vendor directories.
//
// For more about build flags, see 'go help build'.
//
// For more about specifying packages, see 'go help packages'.
//
// For more about how 'go get' finds source code to

View File

@ -69,6 +69,8 @@ it also updates any git submodules referenced by the repository.
Get never checks out or updates code stored in vendor directories.
For more about build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
For more about how 'go get' finds source code to

View File

@ -602,7 +602,8 @@ Starting in Go 1.20, the standard library is built and cached but not installed.
Setting GODEBUG=installgoroot=all restores the use of
$GOROOT/pkg/$GOOS_$GOARCH.
For more about the build flags, see 'go help build'.
For more about build flags, see 'go help build'.
For more about specifying packages, see 'go help packages'.
See also: go build, go get, go clean.