Skip to content

Commit

Permalink
Remove short (abbreviated) flag support
Browse files Browse the repository at this point in the history
  • Loading branch information
iamazeem committed Feb 6, 2025
1 parent d6be498 commit 9e13890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/cache/delete/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func NewCmdDelete(f *cmdutil.Factory, runF func(*DeleteOptions) error) *cobra.Co
}

cmd.Flags().BoolVarP(&opts.DeleteAll, "all", "a", false, "Delete all caches")
cmd.Flags().BoolVarP(&opts.SucceedOnNoCaches, "succeed-on-no-caches", "s", false, "Return exit code 0 if no caches found. Must be used in conjunction with `--all`")
cmd.Flags().BoolVarP(&opts.SucceedOnNoCaches, "succeed-on-no-caches", "", false, "Return exit code 0 if no caches found. Must be used in conjunction with `--all`")

return cmd
}
Expand Down

0 comments on commit 9e13890

Please sign in to comment.