Remove zsh completion for 'docker swarm inspect'

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
Steve Durrheimer 2016-07-29 07:41:27 +02:00
parent faf9dac22c
commit f146f6127c
No known key found for this signature in database
GPG key ID: 8F443EBA70F74839

View file

@ -1185,7 +1185,6 @@ __docker_swarm_commands() {
local -a _docker_swarm_subcommands local -a _docker_swarm_subcommands
_docker_swarm_subcommands=( _docker_swarm_subcommands=(
"init:Initialize a swarm" "init:Initialize a swarm"
"inspect:Inspect the swarm"
"join:Join a swarm as a node and/or manager" "join:Join a swarm as a node and/or manager"
"join-token:Manage join tokens" "join-token:Manage join tokens"
"leave:Leave a swarm" "leave:Leave a swarm"
@ -1210,11 +1209,6 @@ __docker_swarm_subcommand() {
"($help)--force-new-cluster[Force create a new cluster from current state]" \ "($help)--force-new-cluster[Force create a new cluster from current state]" \
"($help)--listen-addr=[Listen address]:ip\:port: " && ret=0 "($help)--listen-addr=[Listen address]:ip\:port: " && ret=0
;; ;;
(inspect)
_arguments $(__docker_arguments) \
$opts_help \
"($help -f --format)"{-f=,--format=}"[Format the output using the given go template]:template: " && ret=0
;;
(join) (join)
_arguments $(__docker_arguments) \ _arguments $(__docker_arguments) \
$opts_help \ $opts_help \