Skip to content
Permalink
Browse files

cmd/go/internal/modcmd: remove non-existent -dir flag

Fixes golang#27243

Change-Id: If9230244938dabd03b9afaa6600310df8f97fe92
Reviewed-on: https://go-review.googlesource.com/131775
Reviewed-by: Bryan C. Mills <bcmills@google.com>
  • Loading branch information...
agnivade authored and bradfitz committed Aug 28, 2018
1 parent f7a633a commit 55ef446026748bea0e9bd5aa35132a07297ff734
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/cmd/go/alldocs.go
  2. +1 −1 src/cmd/go/internal/modcmd/download.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.
@@ -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

0 comments on commit 55ef446

Please sign in to comment.
You can’t perform that action at this time.