From a3393e1750e88c7f6209936815b51173775a38e5 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Thu, 23 May 2013 02:46:07 +0800 Subject: [PATCH] cmd/go: use "go get" instead of "go install" to install vet R=golang-dev, r CC=golang-dev https://golang.org/cl/9662043 --- src/cmd/go/tool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } -- 2.48.1