Kubectl patch command accepts a filename param

This commit is contained in:
feihujiang
2015-08-06 17:24:02 +08:00
parent a6148e79c3
commit 0110f3176b
6 changed files with 78 additions and 14 deletions

View File

@@ -371,6 +371,12 @@ _kubectl_patch()
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+=("--output=")