Remove invalid SuggestFor from prune deployments
This patch makes a tiny change to remove invalid SuggestFor
Since cobra has a suggestion based on Levenshtein distance by default,
removing SuggestFor by this patch is not valid.
@@ -66,7 +66,6 @@ func NewCmdPruneDeployments(f *clientcmd.Factory, parentName, name string, out i
Short: "Remove old completed and failed deployments",
Long: deploymentsLongDesc,
Example: fmt.Sprintf(deploymentsExample, parentName, name),
- SuggestFor: []string{"deployment", "deployments"},
Run: func(cmd *cobra.Command, args []string) {
kcmdutil.CheckErr(opts.Complete(f, cmd, args, out))
kcmdutil.CheckErr(opts.Validate())
