aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/internal/base/tool.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/internal/base/tool.go')
-rw-r--r--src/cmd/go/internal/base/tool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/internal/base/tool.go b/src/cmd/go/internal/base/tool.go
index d0da65e03c..f927016965 100644
--- a/src/cmd/go/internal/base/tool.go
+++ b/src/cmd/go/internal/base/tool.go
@@ -36,7 +36,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 {
- fmt.Fprintf(os.Stderr, "go tool: no such tool %q\n", toolName)
+ fmt.Fprintf(os.Stderr, "go: no such tool %q\n", toolName)
SetExitStatus(2)
Exit()
}