1
0
mirror of https://github.com/golang/go synced 2024-11-23 15:40:06 -07:00

cmd/go: make go tool suggest 'go doc cmd/<command>'

$ gotip tool -h says:

  For more about each tool command, see 'go tool command -h'.

But it's better to suggest

  go doc cmd/<command>

Fixes #18313

Change-Id: I0a36d585906a5e1879e5b7927d1b6173e97cb500
Reviewed-on: https://go-review.googlesource.com/55990
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Alberto Donizetti 2017-08-15 23:49:12 +02:00
parent f6f125dd07
commit 259f78f001
2 changed files with 2 additions and 2 deletions

View File

@ -782,7 +782,7 @@
// The -n flag causes tool to print the command that would be
// executed but not execute it.
//
// For more about each tool command, see 'go tool command -h'.
// For more about each tool command, see 'go doc cmd/<command>'.
//
//
// Print Go version

View File

@ -27,7 +27,7 @@ With no arguments it prints the list of known tools.
The -n flag causes tool to print the command that would be
executed but not execute it.
For more about each tool command, see 'go tool command -h'.
For more about each tool command, see 'go doc cmd/<command>'.
`,
}