Skip to content

Commit 7c1ca7a

Browse files
committed
disables commands that are not documented
1 parent 58cf3e7 commit 7c1ca7a

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

pkg/cli/cli.go

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,17 @@ func Start(cfg *config.Config) error {
167167
}
168168

169169
rootCmd := &ffcli.Command{
170-
UsageFunc: printUsage,
171-
Options: options,
172-
ShortUsage: "pyroscope [flags] <subcommand>",
173-
FlagSet: rootFlagSet,
174-
Subcommands: []*ffcli.Command{agentCmd, serverCmd, convertCmd, execCmd},
170+
UsageFunc: printUsage,
171+
Options: options,
172+
ShortUsage: "pyroscope [flags] <subcommand>",
173+
FlagSet: rootFlagSet,
174+
Subcommands: []*ffcli.Command{
175+
// disabled these commands for now, they are not documented and confuse people
176+
// agentCmd,
177+
// convertCmd,
178+
serverCmd,
179+
execCmd,
180+
},
175181
}
176182

177183
agentCmd.Exec = func(_ context.Context, args []string) error {

0 commit comments

Comments
 (0)