Skip to content

Commit

Permalink
chore: kbcli addon list support specified name (#4452)
Browse files Browse the repository at this point in the history
  • Loading branch information
1aal authored Jul 25, 2023
1 parent f36c7c2 commit 7689c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/cmd/addon/addon.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ func newListCmd(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.C
Use: "list",
Short: "List addons.",
Aliases: []string{"ls"},
Args: cli.NoArgs,
ValidArgsFunction: util.ResourceNameCompletionFunc(f, o.GVR),
Run: func(cmd *cobra.Command, args []string) {
o.Names = args
util.CheckErr(addonListRun(o))
},
}
Expand Down

0 comments on commit 7689c9d

Please sign in to comment.