]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: add -v option in the usage section for get
authorAgniva De Sarker <agnivade@yahoo.co.in>
Thu, 4 Jan 2018 09:37:03 +0000 (15:07 +0530)
committerIan Lance Taylor <iant@golang.org>
Thu, 4 Jan 2018 17:46:39 +0000 (17:46 +0000)
Updates #23332

Change-Id: I964d36ed751ef1844ab6c40f61047297ff1443a3
Reviewed-on: https://go-review.googlesource.com/85797
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/alldocs.go
src/cmd/go/internal/get/get.go

index af5e572b23d75e87e7f89bad8ea69dd0dde0e13f..7ab60aac222a74e1d7a7f6baabdefb3662d3e6c2 100644 (file)
 //
 // Usage:
 //
-//     go get [-d] [-f] [-fix] [-insecure] [-t] [-u] [build flags] [packages]
+//     go get [-d] [-f] [-fix] [-insecure] [-t] [-u] [-v] [build flags] [packages]
 //
 // Get downloads the packages named by the import paths, along with their
 // dependencies. It then installs the named packages, like 'go install'.
index d42dae6e61ff510f6123b935a269940f80c7ba25..733116eca04d83d8c5d1267d6931c1e33c32a67b 100644 (file)
@@ -22,7 +22,7 @@ import (
 )
 
 var CmdGet = &base.Command{
-       UsageLine: "get [-d] [-f] [-fix] [-insecure] [-t] [-u] [build flags] [packages]",
+       UsageLine: "get [-d] [-f] [-fix] [-insecure] [-t] [-u] [-v] [build flags] [packages]",
        Short:     "download and install packages and dependencies",
        Long: `
 Get downloads the packages named by the import paths, along with their