]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go/internal/modcmd: remove non-existent -dir flag
authorAgniva De Sarker <agnivade@yahoo.co.in>
Tue, 28 Aug 2018 07:40:31 +0000 (13:10 +0530)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 4 Sep 2018 19:26:22 +0000 (19:26 +0000)
Fixes #27243

Change-Id: If9230244938dabd03b9afaa6600310df8f97fe92
Reviewed-on: https://go-review.googlesource.com/131775
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/alldocs.go
src/cmd/go/internal/modcmd/download.go

index ebbd154f3e6ffd647a2013f7c9c4912527e10d5c..35cabcac14373d030a478a82ba9dd1a39c7b095b 100644 (file)
 //
 // 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.
index cf42eff58a1f3b1a7c481fbbe20ac0042ab0d243..8678caea516735c46df3372bf380d3a1a0095207 100644 (file)
@@ -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