diff options
author | Agniva De Sarker <agnivade@yahoo.co.in> | 2018-08-28 13:10:31 +0530 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-11-01 17:33:32 +0000 |
commit | ce6c8a51015525be26e81bc35f08dc8ee87927dd (patch) | |
tree | a9ed318983f4ac198aba61961debaf8b1569014b | |
parent | 97781d2ed116d2cd9cb870d0b84fc0ec598c9abc (diff) | |
download | go-ce6c8a51015525be26e81bc35f08dc8ee87927dd.tar.gz go-ce6c8a51015525be26e81bc35f08dc8ee87927dd.zip |
[release-branch.go1.11] cmd/go/internal/modcmd: remove non-existent -dir flag
Updates #27243
Fixes #27498
Change-Id: If9230244938dabd03b9afaa6600310df8f97fe92
Reviewed-on: https://go-review.googlesource.com/131775
Reviewed-by: Bryan C. Mills <bcmills@google.com>
(cherry picked from commit 55ef446026748bea0e9bd5aa35132a07297ff734)
Reviewed-on: https://go-review.googlesource.com/c/146717
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r-- | src/cmd/go/alldocs.go | 2 | ||||
-rw-r--r-- | src/cmd/go/internal/modcmd/download.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index ab8429f0de..9528ca2984 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -889,7 +889,7 @@ // // Usage: // -// go mod download [-dir] [-json] [modules] +// go mod download [-json] [modules] // // Download downloads the named modules, which can be module patterns selecting // dependencies of the main module or module queries of the form path@version. diff --git a/src/cmd/go/internal/modcmd/download.go b/src/cmd/go/internal/modcmd/download.go index cf42eff58a..8678caea51 100644 --- a/src/cmd/go/internal/modcmd/download.go +++ b/src/cmd/go/internal/modcmd/download.go @@ -15,7 +15,7 @@ import ( ) var cmdDownload = &base.Command{ - UsageLine: "go mod download [-dir] [-json] [modules]", + UsageLine: "go mod download [-json] [modules]", Short: "download modules to local cache", Long: ` Download downloads the named modules, which can be module patterns selecting |