From a1d5e8adfa4d2f1043f4617fe20994ddbb7cc25c Mon Sep 17 00:00:00 2001 From: Mark Rushakoff Date: Tue, 8 Jan 2019 01:13:01 +0000 Subject: [PATCH] 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 Run-TryBot: Ian Lance Taylor --- src/cmd/go/alldocs.go | 2 +- src/cmd/go/internal/help/helpdoc.go | 2 +- 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.