mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
Remove zsh completion for 'docker swarm inspect'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: de93020c02
Component: cli
This commit is contained in:
committed by
Tibor Vass
parent
0b4fc8b649
commit
84d3d32460
@@ -1185,7 +1185,6 @@ __docker_swarm_commands() {
|
||||
local -a _docker_swarm_subcommands
|
||||
_docker_swarm_subcommands=(
|
||||
"init:Initialize a swarm"
|
||||
"inspect:Inspect the swarm"
|
||||
"join:Join a swarm as a node and/or manager"
|
||||
"join-token:Manage join tokens"
|
||||
"leave:Leave a swarm"
|
||||
@@ -1210,11 +1209,6 @@ __docker_swarm_subcommand() {
|
||||
"($help)--force-new-cluster[Force create a new cluster from current state]" \
|
||||
"($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)
|
||||
_arguments $(__docker_arguments) \
|
||||
$opts_help \
|
||||
|
||||
Reference in New Issue
Block a user