Add '-o name' to mutations
This commit is contained in:
@@ -314,6 +314,8 @@ _kubectl_create()
|
||||
flags_completion+=("__handle_filename_extension_flag json|yaml|yml")
|
||||
flags+=("--help")
|
||||
flags+=("-h")
|
||||
flags+=("--output=")
|
||||
two_word_flags+=("-o")
|
||||
|
||||
must_have_one_flag=()
|
||||
must_have_one_flag+=("--filename=")
|
||||
@@ -342,6 +344,8 @@ _kubectl_replace()
|
||||
flags+=("--grace-period=")
|
||||
flags+=("--help")
|
||||
flags+=("-h")
|
||||
flags+=("--output=")
|
||||
two_word_flags+=("-o")
|
||||
flags+=("--timeout=")
|
||||
|
||||
must_have_one_flag=()
|
||||
@@ -362,6 +366,8 @@ _kubectl_patch()
|
||||
|
||||
flags+=("--help")
|
||||
flags+=("-h")
|
||||
flags+=("--output=")
|
||||
two_word_flags+=("-o")
|
||||
flags+=("--patch=")
|
||||
two_word_flags+=("-p")
|
||||
|
||||
@@ -393,6 +399,8 @@ _kubectl_delete()
|
||||
flags+=("--help")
|
||||
flags+=("-h")
|
||||
flags+=("--ignore-not-found")
|
||||
flags+=("--output=")
|
||||
two_word_flags+=("-o")
|
||||
flags+=("--selector=")
|
||||
two_word_flags+=("-l")
|
||||
flags+=("--timeout=")
|
||||
@@ -487,6 +495,8 @@ _kubectl_scale()
|
||||
flags+=("--current-replicas=")
|
||||
flags+=("--help")
|
||||
flags+=("-h")
|
||||
flags+=("--output=")
|
||||
two_word_flags+=("-o")
|
||||
flags+=("--replicas=")
|
||||
flags+=("--resource-version=")
|
||||
|
||||
@@ -625,6 +635,8 @@ _kubectl_stop()
|
||||
flags+=("--help")
|
||||
flags+=("-h")
|
||||
flags+=("--ignore-not-found")
|
||||
flags+=("--output=")
|
||||
two_word_flags+=("-o")
|
||||
flags+=("--selector=")
|
||||
two_word_flags+=("-l")
|
||||
flags+=("--timeout=")
|
||||
|
Reference in New Issue
Block a user