mirror of https://github.com/docker/cli.git
Remove zsh completion for 'docker swarm inspect'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
parent
e2a6cf9fd5
commit
de93020c02
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue