cmd/oracle: Fix help message for Go Oracle usage.
Change-Id: Iba2c49c380ca81cd76b84c384ff468b8779f80e4 Reviewed-on: https://go-review.googlesource.com/15382 Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
parent
3d33c30540
commit
78a4eef087
|
@ -78,7 +78,7 @@ Describe the syntax at offset 530 in this file (an import spec):
|
||||||
golang.org/x/tools/cmd/oracle
|
golang.org/x/tools/cmd/oracle
|
||||||
|
|
||||||
Print the callgraph of the trivial web-server in JSON format:
|
Print the callgraph of the trivial web-server in JSON format:
|
||||||
% oracle -format=json $GOROOT/src/net/http/triv.go callgraph
|
% oracle -format=json callstack $GOROOT/src/net/http/triv.go
|
||||||
` + loader.FromArgsUsage
|
` + loader.FromArgsUsage
|
||||||
|
|
||||||
var cpuprofile = flag.String("cpuprofile", "", "write cpu profile to file")
|
var cpuprofile = flag.String("cpuprofile", "", "write cpu profile to file")
|
||||||
|
|
Loading…
Reference in New Issue