]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: drop -v from go help get
authorSean Liao <sean@liao.dev>
Thu, 28 Nov 2024 16:23:53 +0000 (16:23 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 5 Dec 2024 17:48:39 +0000 (17:48 +0000)
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>
src/cmd/go/alldocs.go
src/cmd/go/internal/modget/get.go

index 4f0108b5ab2a6c91deecd9961273cdc8a2387471..e0899f62d493f6018405208925c379247f1e70f0 100644 (file)
 //
 // 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,
 // updates go.mod to require those versions, and downloads source code into the
index 05bac54fe7b604b97f11355236a5dfdf01a30567..159a85691142073c35a3aed2dbdc0aaa6eaa2337 100644 (file)
@@ -54,7 +54,7 @@ import (
 var CmdGet = &base.Command{
        // 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].
-       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",
        Long: `
 Get resolves its command-line arguments to packages at specific module versions,
@@ -222,7 +222,6 @@ var (
        getU        upgradeFlag
        getTool     = CmdGet.Flag.Bool("tool", false, "")
        getInsecure = CmdGet.Flag.Bool("insecure", false, "")
-       // -v is cfg.BuildV
 )
 
 // upgradeFlag is a custom flag.Value for -u.