From: Shenghou Ma Date: Wed, 22 May 2013 18:46:07 +0000 (+0800) Subject: cmd/go: use "go get" instead of "go install" to install vet X-Git-Tag: go1.2rc2~1442 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a3393e1750e88c7f6209936815b51173775a38e5;p=gostls13.git cmd/go: use "go get" instead of "go install" to install vet R=golang-dev, r CC=golang-dev https://golang.org/cl/9662043 --- diff --git a/src/cmd/go/tool.go b/src/cmd/go/tool.go index 2d7db29152..f739aa4da7 100644 --- a/src/cmd/go/tool.go +++ b/src/cmd/go/tool.go @@ -53,7 +53,7 @@ func tool(toolName string) string { // Give a nice message if there is no tool with that name. if _, err := os.Stat(toolPath); err != nil { if isInGoToolsRepo(toolName) { - fmt.Fprintf(os.Stderr, "go tool: no such tool %q; to install:\n\tgo install code.google.com/p/go.tools/cmd/%s\n", toolName, toolName) + fmt.Fprintf(os.Stderr, "go tool: no such tool %q; to install:\n\tgo get code.google.com/p/go.tools/cmd/%s\n", toolName, toolName) } else { fmt.Fprintf(os.Stderr, "go tool: no such tool %q\n", toolName) }