From: Agniva De Sarker Date: Thu, 4 Jan 2018 09:37:03 +0000 (+0530) Subject: cmd/go: add -v option in the usage section for get X-Git-Tag: go1.10beta2~59 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1f84cd9771c6aab344dc6f46b50838ff7d239e87;p=gostls13.git cmd/go: add -v option in the usage section for get Updates #23332 Change-Id: I964d36ed751ef1844ab6c40f61047297ff1443a3 Reviewed-on: https://go-review.googlesource.com/85797 Reviewed-by: Ian Lance Taylor --- diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index af5e572b23..7ab60aac22 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -505,7 +505,7 @@ // // 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'. diff --git a/src/cmd/go/internal/get/get.go b/src/cmd/go/internal/get/get.go index d42dae6e61..733116eca0 100644 --- a/src/cmd/go/internal/get/get.go +++ b/src/cmd/go/internal/get/get.go @@ -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