Merge pull request #12511 from feihujiang/kubectlGetAcceptFileNameParam

Kubectl get command accepts a filename param
This commit is contained in:
Brendan Burns
2015-08-14 14:21:56 -07:00
5 changed files with 103 additions and 9 deletions

View File

@@ -230,6 +230,12 @@ _kubectl_get()
flags_completion=()
flags+=("--all-namespaces")
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+=("--label-columns=")