aboutsummaryrefslogtreecommitdiff
path: root/src/net/http
diff options
context:
space:
mode:
authorLeon Klingele <git@leonklingele.de>2021-10-01 09:05:13 +0000
committerIan Lance Taylor <iant@golang.org>2021-10-02 00:31:26 +0000
commit64da5e0fd5979ba489e03cedf3c63c21f8bfcefe (patch)
tree3a49a225b1a9608cef0281adce549d95a261ad32 /src/net/http
parentcf241a34a2ee8b337e11731958d918cbfd338caf (diff)
downloadgo-64da5e0fd5979ba489e03cedf3c63c21f8bfcefe.tar.xz
net/http/pprof: use "curl" instead of "wget" in usage example
The "curl" binary is already used at several other places inside the code base, whereas this was the only occurrence of "wget". Change-Id: I2b9c5c353d08b3ba8289819b4a602c51f1ebd593 GitHub-Last-Rev: abf94855223c4ceac08dd0d18c5a2b97d1abcca9 GitHub-Pull-Request: golang/go#48718 Reviewed-on: https://go-review.googlesource.com/c/go/+/353401 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Cherry Mui <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/net/http')
-rw-r--r--src/net/http/pprof/pprof.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/http/pprof/pprof.go b/src/net/http/pprof/pprof.go
index 888ea35c9a..dc855c8a6d 100644
--- a/src/net/http/pprof/pprof.go
+++ b/src/net/http/pprof/pprof.go
@@ -44,7 +44,7 @@
// The package also exports a handler that serves execution trace data
// for the "go tool trace" command. To collect a 5-second execution trace:
//
-// wget -O trace.out http://localhost:6060/debug/pprof/trace?seconds=5
+// curl -o trace.out http://localhost:6060/debug/pprof/trace?seconds=5
// go tool trace trace.out
//
// To view all available profiles, open http://localhost:6060/debug/pprof/