]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: unify the format of the go help xxx command
authorcui fliter <imcusg@gmail.com>
Wed, 8 Mar 2023 11:00:51 +0000 (19:00 +0800)
committerGopher Robot <gobot@golang.org>
Mon, 13 Mar 2023 16:58:15 +0000 (16:58 +0000)
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>

src/cmd/go/alldocs.go
src/cmd/go/internal/get/get.go
src/cmd/go/internal/work/build.go

index 523540869a381c353ed8590da989ae25b82bc4da..ca676d5a88f1ea73647034879688a19093862b66 100644 (file)
 // 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.
 //
 // 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
index 1c1f10354bad851043e62abb837bc08db4f46132..c680dead0f788fbf4bbd41e97f49c97329bb1056 100644 (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
index 68c780db7ea7978650b687f7e8606cbd8aeab0bf..5a1915afb58e5f7465bca4a4028c8b663478ca5f 100644 (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.