Merge pull request #10816 from feihujiang/kubectlDescribeAcceptFileNameParam

Kubectl describe command accepts a filename param
This commit is contained in:
Satnam Singh
2015-08-07 15:23:57 -07:00
6 changed files with 85 additions and 20 deletions

View File

@@ -275,6 +275,12 @@ _kubectl_describe()
flags_with_completion=()
flags_completion=()
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+=("--selector=")