Skip to content

Commit dfce70c

Browse files
committed
makes pyroscope exec help print usage message
1 parent 0dc230a commit dfce70c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cli/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ func Start(cfg *config.Config) error {
285285
} else if l, err := logrus.ParseLevel(cfg.Exec.LogLevel); err == nil {
286286
logrus.SetLevel(l)
287287
}
288-
if len(args) == 0 {
288+
if len(args) == 0 || args[0] == "help" {
289289
fmt.Println(gradientBanner())
290290
fmt.Println(DefaultUsageFunc(execCmd))
291291
return nil

0 commit comments

Comments
 (0)