From: Agniva De Sarker Date: Tue, 28 Aug 2018 07:40:31 +0000 (+0530) Subject: cmd/go/internal/modcmd: remove non-existent -dir flag X-Git-Tag: go1.12beta1~1170 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=55ef446026748bea0e9bd5aa35132a07297ff734;p=gostls13.git cmd/go/internal/modcmd: remove non-existent -dir flag Fixes #27243 Change-Id: If9230244938dabd03b9afaa6600310df8f97fe92 Reviewed-on: https://go-review.googlesource.com/131775 Reviewed-by: Bryan C. Mills --- diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index ebbd154f3e..35cabcac14 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