From aace554cb4f95be5e26ce14f4bfa18725a6489d3 Mon Sep 17 00:00:00 2001 From: "dr.max" Date: Thu, 14 Nov 2019 16:43:38 -0800 Subject: [PATCH] fix help for -a to correctly include label:name=key --- pkg/kapp/cmd/app/app_flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kapp/cmd/app/app_flags.go b/pkg/kapp/cmd/app/app_flags.go index c657a2156..76efb4421 100644 --- a/pkg/kapp/cmd/app/app_flags.go +++ b/pkg/kapp/cmd/app/app_flags.go @@ -13,5 +13,5 @@ type AppFlags struct { func (s *AppFlags) Set(cmd *cobra.Command, flagsFactory cmdcore.FlagsFactory) { s.NamespaceFlags.Set(cmd, flagsFactory) - cmd.Flags().StringVarP(&s.Name, "app", "a", "", "Set app name (or label selector) (format: name, key=val, !key)") + cmd.Flags().StringVarP(&s.Name, "app", "a", "", "Set app name (or label selector) (format: name, label:key=val, !key)") }