mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #107397 from ncapps/feature-label-selector
Improve kubectl apply label selector message
This commit is contained in:
commit
42ab2f5d03
@ -464,7 +464,7 @@ func AddChunkSizeFlag(cmd *cobra.Command, value *int64) {
|
||||
}
|
||||
|
||||
func AddLabelSelectorFlagVar(cmd *cobra.Command, p *string) {
|
||||
cmd.Flags().StringVarP(p, "selector", "l", *p, "Selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2)")
|
||||
cmd.Flags().StringVarP(p, "selector", "l", *p, "Selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2). Matching objects must satisfy all of the specified label constraints.")
|
||||
}
|
||||
|
||||
type ValidateOptions struct {
|
||||
|
Loading…
Reference in New Issue
Block a user