diff --git a/cli/cli.go b/cli/cli.go index 62beb3f..8f57cbc 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -29,7 +29,7 @@ type BaseArgs struct { } type Profile struct { - Mode string `name:"mode" short:"m" enum:"heap,goroutine,threacreate,block,mutex,profile" help:"type of profile to run" default:"heap"` + Mode string `name:"mode" short:"m" enum:"heap,goroutine,threadcreate,block,mutex,profile" help:"type of profile to run, heap,goroutine,threadcreate,block,mutex,profile" default:"heap"` Time int `name:"time" short:"t" help:"duration of profile in seconds"` Url *url.URL `arg:"" help:"base url of pprof server, ala http://localhost:6060/debug/pprof"`