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 <dmitshur@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
This commit is contained in:
Sean Liao 2024-11-28 16:23:53 +00:00 committed by Gopher Robot
parent 080466fffb
commit be297ba9b3
2 changed files with 2 additions and 3 deletions

View File

@ -669,7 +669,7 @@
// //
// Usage: // Usage:
// //
// go get [-t] [-u] [-v] [-tool] [build flags] [packages] // go get [-t] [-u] [-tool] [build flags] [packages]
// //
// Get resolves its command-line arguments to packages at specific module versions, // Get resolves its command-line arguments to packages at specific module versions,
// updates go.mod to require those versions, and downloads source code into the // updates go.mod to require those versions, and downloads source code into the

View File

@ -54,7 +54,7 @@ import (
var CmdGet = &base.Command{ var CmdGet = &base.Command{
// Note: flags below are listed explicitly because they're the most common. // Note: flags below are listed explicitly because they're the most common.
// Do not send CLs removing them because they're covered by [get flags]. // Do not send CLs removing them because they're covered by [get flags].
UsageLine: "go get [-t] [-u] [-v] [-tool] [build flags] [packages]", UsageLine: "go get [-t] [-u] [-tool] [build flags] [packages]",
Short: "add dependencies to current module and install them", Short: "add dependencies to current module and install them",
Long: ` Long: `
Get resolves its command-line arguments to packages at specific module versions, Get resolves its command-line arguments to packages at specific module versions,
@ -222,7 +222,6 @@ var (
getU upgradeFlag getU upgradeFlag
getTool = CmdGet.Flag.Bool("tool", false, "") getTool = CmdGet.Flag.Bool("tool", false, "")
getInsecure = CmdGet.Flag.Bool("insecure", false, "") getInsecure = CmdGet.Flag.Bool("insecure", false, "")
// -v is cfg.BuildV
) )
// upgradeFlag is a custom flag.Value for -u. // upgradeFlag is a custom flag.Value for -u.