mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Update label selector message to clarify that constraints use AND operator
This commit is contained in:
parent
aa1be30828
commit
62baa0af4c
@ -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