From c1d8d710b87258516ee980b2e4d00f2d3a20d6bb Mon Sep 17 00:00:00 2001 From: Rogger Vasquez Date: Fri, 6 May 2022 15:15:49 -0500 Subject: [PATCH] rpk: change host flag help text for admin config print --- src/go/rpk/pkg/cli/cmd/redpanda/admin/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/go/rpk/pkg/cli/cmd/redpanda/admin/config/config.go b/src/go/rpk/pkg/cli/cmd/redpanda/admin/config/config.go index adb5a45d4de1..122a3895bb98 100644 --- a/src/go/rpk/pkg/cli/cmd/redpanda/admin/config/config.go +++ b/src/go/rpk/pkg/cli/cmd/redpanda/admin/config/config.go @@ -55,7 +55,7 @@ func newPrintCommand(fs afero.Fs) *cobra.Command { }, } - cmd.Flags().StringVar(&host, "host", "", "either an index into admin_api hosts to issue the request to, or a hostname") + cmd.Flags().StringVar(&host, "host", "", "either a hostname or an index into rpk.admin_api.addresses config section to select the hosts to issue the request to") cobra.MarkFlagRequired(cmd.Flags(), "host") return cmd