Skip to content

Commit

Permalink
docs: fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
siyul-park committed Dec 10, 2023
1 parent 3ab6451 commit a40bdcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/uniflow/get/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ 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",
Short: "Get and display applied resources",
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
}
Expand Down

0 comments on commit a40bdcd

Please sign in to comment.