Skip to content

Commit 1ddc9fe

Browse files
vdoblerrsc
authored andcommitted
cmd/go: trivial help message fix for go help get
Direct reference to go help build where the flags are described. R=golang-dev, adg, rsc CC=golang-dev https://golang.org/cl/5825046
1 parent 24ed667 commit 1ddc9fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cmd/go/doc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Get downloads and installs the packages named by the import paths,
213213
along with their dependencies.
214214
215215
The -a, -n, -v, -x, and -p flags have the same meaning as in 'go build'
216-
and 'go install'. See 'go help install'.
216+
and 'go install'. See 'go help build'.
217217
218218
The -d flag instructs get to stop after downloading the packages; that is,
219219
it instructs get not to install the packages.

src/cmd/go/get.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Get downloads and installs the packages named by the import paths,
2424
along with their dependencies.
2525
2626
The -a, -n, -v, -x, and -p flags have the same meaning as in 'go build'
27-
and 'go install'. See 'go help install'.
27+
and 'go install'. See 'go help build'.
2828
2929
The -d flag instructs get to stop after downloading the packages; that is,
3030
it instructs get not to install the packages.

0 commit comments

Comments
 (0)