From a40bdcd4f19b720db9b44f9858082c480293566e Mon Sep 17 00:00:00 2001 From: siyul-park Date: Sat, 9 Dec 2023 22:52:49 -0500 Subject: [PATCH] docs: fix comment --- cmd/uniflow/get/cmd.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/uniflow/get/cmd.go b/cmd/uniflow/get/cmd.go index b27a6b50..f232c06c 100644 --- a/cmd/uniflow/get/cmd.go +++ b/cmd/uniflow/get/cmd.go @@ -11,13 +11,13 @@ import ( "github.com/spf13/cobra" ) -// Config represents the configuration for the apply command. +// Config represents the configuration for the get command. type Config struct { Scheme *scheme.Scheme Database database.Database } -// NewCmd creates a new cobra.Command for the apply command. +// NewCmd creates a new cobra.Command for the get command. func NewCmd(config Config) *cobra.Command { cmd := &cobra.Command{ Use: "get", @@ -25,7 +25,7 @@ func NewCmd(config Config) *cobra.Command { RunE: runGetCommand(config), } - cmd.PersistentFlags().StringP(FlagNamespace, flag.ToShorthand(FlagNamespace), "", "Set the resource's namespace. If not set, use the default namespace") + cmd.PersistentFlags().StringP(FlagNamespace, flag.ToShorthand(FlagNamespace), "", "Set the resource's namespace. If not set, use all namespace") return cmd }