Merge pull request #3439 from thaJeztah/drop_kube_completion

contrib/completion: remove "compose on kubernetes" flags zsh completion
This commit is contained in:
Sebastiaan van Stijn 2022-05-02 13:39:48 +02:00 committed by GitHub
commit ba6f260801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 5 deletions

View File

@ -5287,7 +5287,6 @@ _docker_version() {
case "$cur" in
-*)
local options="--format -f --help"
COMPREPLY=( $( compgen -W "--format -f --help" -- "$cur" ) )
;;
esac

View File

@ -2583,10 +2583,8 @@ __docker_context_subcommand() {
(create)
_arguments $(__docker_arguments) \
$opts_help \
"($help)--default-stack-orchestrator=[Default orchestrator for stack operations to use with this context]:default-stack-orchestrator:(swarm kubernetes all)" \
"($help)--description=[Description of the context]:description:" \
"($help)--docker=[Set the docker endpoint]:docker:" \
"($help)--kubernetes=[Set the kubernetes endpoint]:kubernetes:" \
"($help)--from=[Create context from a named context]:from:__docker_complete_contexts" \
"($help -):name: " && ret=0
;;
@ -2608,10 +2606,8 @@ __docker_context_subcommand() {
(update)
_arguments $(__docker_arguments) \
$opts_help \
"($help)--default-stack-orchestrator=[Default orchestrator for stack operations to use with this context]:default-stack-orchestrator:(swarm kubernetes all)" \
"($help)--description=[Description of the context]:description:" \
"($help)--docker=[Set the docker endpoint]:docker:" \
"($help)--kubernetes=[Set the kubernetes endpoint]:kubernetes:" \
"($help -):name:" && ret=0
;;
esac