1
0
mirror of https://github.com/golang/go synced 2024-11-22 21:50:03 -07:00

cmd/go: use "go get" instead of "go install" to install vet

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/9662043
This commit is contained in:
Shenghou Ma 2013-05-23 02:46:07 +08:00
parent f6c7b339a6
commit a3393e1750

View File

@ -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)
}