From 08ad9c865e7dc29916b0e5032bddd8fae38eed18 Mon Sep 17 00:00:00 2001 From: a Date: Wed, 3 May 2023 13:01:49 -0500 Subject: [PATCH] ok --- cli/cli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"`