Skip to content

Commit

Permalink
Merge pull request #24068 from r-vasquez/help-text-connect
Browse files Browse the repository at this point in the history
rpk connect: show rpk help text with --help/-h
  • Loading branch information
r-vasquez authored Nov 12, 2024
2 parents d430616 + 4de14d7 commit 1fb3f4e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/go/rpk/pkg/cli/connect/connect.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ func NewCommand(fs afero.Fs, p *config.Params, execFn func(string, []string) err
zap.L().Sugar().Warn("rpk is using a self-managed version of Redpanda Connect. If you want rpk to manage connect, use rpk connect uninstall && rpk connect install. To continue managing Connect manually, use our redpanda-connect package.")
}
}
if cmd.Flags().Changed("help") {
cmd.Help()
return
}
zap.L().Debug("executing connect plugin", zap.String("path", pluginPath), zap.Strings("args", pluginArgs))
err = execFn(pluginPath, pluginArgs)
out.MaybeDie(err, "unable to execute redpanda connect plugin: %v", err)
Expand Down

0 comments on commit 1fb3f4e

Please sign in to comment.