aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Rushakoff <mark.rushakoff@gmail.com>2019-01-08 01:13:01 +0000
committerIan Lance Taylor <iant@golang.org>2019-01-08 02:10:40 +0000
commita1d5e8adfa4d2f1043f4617fe20994ddbb7cc25c (patch)
tree636465ef734791ef87e2d5fea10bbc37c039c2bb
parente3eb2ff8270a3d0f542808136519a044f39c50d9 (diff)
downloadgo-a1d5e8adfa4d2f1043f4617fe20994ddbb7cc25c.tar.gz
go-a1d5e8adfa4d2f1043f4617fe20994ddbb7cc25c.zip
cmd/go: fix typo in output of go help importpath
The output refers to 'go help modules-get' but the actual command is 'go help module-get', singular. Change-Id: Ie001f4181d80d3bf1995af2f257bf789dad5b33f GitHub-Last-Rev: ce9b90e9a656fbab097d440458e93ab29ba014af GitHub-Pull-Request: golang/go#29605 Reviewed-on: https://go-review.googlesource.com/c/156737 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org>
-rw-r--r--src/cmd/go/alldocs.go2
-rw-r--r--src/cmd/go/internal/help/helpdoc.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go
index 9108775e75..9d9304a3b6 100644
--- a/src/cmd/go/alldocs.go
+++ b/src/cmd/go/alldocs.go
@@ -2054,7 +2054,7 @@
// (See 'go help gopath-get' and 'go help gopath'.)
//
// When using modules, downloaded packages are stored in the module cache.
-// (See 'go help modules-get' and 'go help goproxy'.)
+// (See 'go help module-get' and 'go help goproxy'.)
//
// When using modules, an additional variant of the go-import meta tag is
// recognized and is preferred over those listing version control systems.
diff --git a/src/cmd/go/internal/help/helpdoc.go b/src/cmd/go/internal/help/helpdoc.go
index ba9b14a4e6..973bfbc611 100644
--- a/src/cmd/go/internal/help/helpdoc.go
+++ b/src/cmd/go/internal/help/helpdoc.go
@@ -266,7 +266,7 @@ listed in the GOPATH environment variable.
(See 'go help gopath-get' and 'go help gopath'.)
When using modules, downloaded packages are stored in the module cache.
-(See 'go help modules-get' and 'go help goproxy'.)
+(See 'go help module-get' and 'go help goproxy'.)
When using modules, an additional variant of the go-import meta tag is
recognized and is preferred over those listing version control systems.