]> Cypherpunks repositories - gostls13.git/commitdiff
[release-branch.go1.11] 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>
Thu, 1 Nov 2018 17:33:32 +0000 (17:33 +0000)
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>
src/cmd/go/alldocs.go
src/cmd/go/internal/modcmd/download.go

index ab8429f0de8325637bc70d59a60ebf3bd42f1dee..9528ca29844ba30df928628ea26cbb0ed8423baa 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