]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: use "go get" instead of "go install" to install vet
authorShenghou Ma <minux.ma@gmail.com>
Wed, 22 May 2013 18:46:07 +0000 (02:46 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Wed, 22 May 2013 18:46:07 +0000 (02:46 +0800)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/9662043

src/cmd/go/tool.go

index 2d7db29152dedb9fdfa818afa74b70a0be6e9708..f739aa4da7adfa8c9a6ea9c9d3f6c9c1316d8250 100644 (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)
                }