Skip to content

Commit be297ba

Browse files
seankhliaogopherbot
authored andcommitted
cmd/go: drop -v from go help get
Fixes #37301 Change-Id: I6d6ac818a73b907638f62d56bd5a7f00a6e6a5ba Reviewed-on: https://go-review.googlesource.com/c/go/+/632178 Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Michael Matloob <[email protected]>
1 parent 080466f commit be297ba

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/cmd/go/alldocs.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cmd/go/internal/modget/get.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ import (
5454
var CmdGet = &base.Command{
5555
// Note: flags below are listed explicitly because they're the most common.
5656
// Do not send CLs removing them because they're covered by [get flags].
57-
UsageLine: "go get [-t] [-u] [-v] [-tool] [build flags] [packages]",
57+
UsageLine: "go get [-t] [-u] [-tool] [build flags] [packages]",
5858
Short: "add dependencies to current module and install them",
5959
Long: `
6060
Get resolves its command-line arguments to packages at specific module versions,
@@ -222,7 +222,6 @@ var (
222222
getU upgradeFlag
223223
getTool = CmdGet.Flag.Bool("tool", false, "")
224224
getInsecure = CmdGet.Flag.Bool("insecure", false, "")
225-
// -v is cfg.BuildV
226225
)
227226

228227
// upgradeFlag is a custom flag.Value for -u.

0 commit comments

Comments
 (0)