Commit 55ef4460 authored by Agniva De Sarker's avatar Agniva De Sarker Committed by Brad Fitzpatrick

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

Fixes #27243

Change-Id: If9230244938dabd03b9afaa6600310df8f97fe92
Reviewed-on: https://go-review.googlesource.com/131775Reviewed-by: 's avatarBryan C. Mills <bcmills@google.com>
parent f7a633aa
...@@ -889,7 +889,7 @@ ...@@ -889,7 +889,7 @@
// //
// Usage: // Usage:
// //
// go mod download [-dir] [-json] [modules] // go mod download [-json] [modules]
// //
// Download downloads the named modules, which can be module patterns selecting // Download downloads the named modules, which can be module patterns selecting
// dependencies of the main module or module queries of the form path@version. // dependencies of the main module or module queries of the form path@version.
......
...@@ -15,7 +15,7 @@ import ( ...@@ -15,7 +15,7 @@ import (
) )
var cmdDownload = &base.Command{ var cmdDownload = &base.Command{
UsageLine: "go mod download [-dir] [-json] [modules]", UsageLine: "go mod download [-json] [modules]",
Short: "download modules to local cache", Short: "download modules to local cache",
Long: ` Long: `
Download downloads the named modules, which can be module patterns selecting Download downloads the named modules, which can be module patterns selecting
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment