]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/pprof: fix doc typo
authorDavor Kapsa <davor.kapsa@gmail.com>
Sat, 18 Nov 2017 19:48:08 +0000 (20:48 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 18 Nov 2017 20:40:15 +0000 (20:40 +0000)
Change-Id: I6e814182d89c3e7ff184141af097af0afb844d00
Reviewed-on: https://go-review.googlesource.com/78620
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/pprof/pprof.go

index 81681be7212c613428c8df578835cb0c2cf8cfe7..f76dde28d444c12cb62a9f09abb68bce5883f23d 100644 (file)
@@ -18,7 +18,7 @@
 // To add equivalent profiling support to a standalone program, add
 // code like the following to your main function:
 //
-//    var cpuprofile = flag.String("cpuprofile", "", "write cpu profile `file`")
+//    var cpuprofile = flag.String("cpuprofile", "", "write cpu profile to `file`")
 //    var memprofile = flag.String("memprofile", "", "write memory profile to `file`")
 //
 //    func main() {