From: Alexandre Cesaro Date: Fri, 12 Jun 2015 10:16:07 +0000 (+0200) Subject: cmd/go: fix documentation X-Git-Tag: go1.5beta1~283 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0d0ce8a2afb5f31bbbc842910b643192a7d8767e;p=gostls13.git cmd/go: fix documentation The command "go tool pprof help" does not work: $ go tool pprof help open help: no such file or directory The right command is "go tool pprof -h". Change-Id: Icef5d4ab76774905854e46665ac1166d26d35f46 Reviewed-on: https://go-review.googlesource.com/10970 Reviewed-by: Ian Lance Taylor --- diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index 6fe434de86..9001562e5a 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -1103,7 +1103,7 @@ The 'go test' command takes both flags that apply to 'go test' itself and flags that apply to the resulting test binary. Several of the flags control profiling and write an execution profile -suitable for "go tool pprof"; run "go tool pprof help" for more +suitable for "go tool pprof"; run "go tool pprof -h" for more information. The --alloc_space, --alloc_objects, and --show_bytes options of pprof control how the information is presented. diff --git a/src/cmd/go/test.go b/src/cmd/go/test.go index 9746bbd3af..b89ab7570e 100644 --- a/src/cmd/go/test.go +++ b/src/cmd/go/test.go @@ -107,7 +107,7 @@ The 'go test' command takes both flags that apply to 'go test' itself and flags that apply to the resulting test binary. Several of the flags control profiling and write an execution profile -suitable for "go tool pprof"; run "go tool pprof help" for more +suitable for "go tool pprof"; run "go tool pprof -h" for more information. The --alloc_space, --alloc_objects, and --show_bytes options of pprof control how the information is presented.