Disable --patch for kubectl update

This commit is contained in:
Jeff Lowdermilk
2015-05-28 17:25:44 -07:00
parent a026ca40f8
commit 90a5b8c845
6 changed files with 49 additions and 26 deletions

View File

@@ -334,12 +334,10 @@ _kubectl_update()
flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
flags+=("--help")
flags+=("-h")
flags+=("--patch=")
must_have_one_flag=()
must_have_one_flag+=("--filename=")
must_have_one_flag+=("-f")
must_have_one_flag+=("--patch=")
must_have_one_noun=()
}