diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index 7dd7ba90f0..c3d75ee793 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -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/'. // // // Print Go version diff --git a/src/cmd/go/internal/tool/tool.go b/src/cmd/go/internal/tool/tool.go index 51675262e5..db92884f6a 100644 --- a/src/cmd/go/internal/tool/tool.go +++ b/src/cmd/go/internal/tool/tool.go @@ -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/'. `, }