kubectl port-forward accept a pod without -p

This commit is contained in:
feihujiang
2015-07-13 16:25:22 +08:00
parent f53e0ff5a8
commit 90f4c79bb9
7 changed files with 89 additions and 22 deletions

View File

@@ -570,8 +570,6 @@ _kubectl_port-forward()
two_word_flags+=("-p")
must_have_one_flag=()
must_have_one_flag+=("--pod=")
must_have_one_flag+=("-p")
must_have_one_noun=()
}