Merge pull request #12326 from feihujiang/kubectlLabelAcceptFileNameParam
Kubectl label command accepts a filename param
This commit is contained in:
@@ -754,6 +754,12 @@ _kubectl_label()
|
||||
flags_completion=()
|
||||
|
||||
flags+=("--all")
|
||||
flags+=("--filename=")
|
||||
flags_with_completion+=("--filename")
|
||||
flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
|
||||
two_word_flags+=("-f")
|
||||
flags_with_completion+=("-f")
|
||||
flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
|
||||
flags+=("--help")
|
||||
flags+=("-h")
|
||||
flags+=("--no-headers")
|
||||
|
Reference in New Issue
Block a user