Remove bash completion for docker swarm inspect

Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 34d9a82409)
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
Harald Albers 2016-07-26 04:51:27 -07:00 committed by Tibor Vass
parent 55b920c988
commit 486d5aa47f

View file

@ -1817,7 +1817,6 @@ _docker_service_update() {
_docker_swarm() {
local subcommands="
init
inspect
join
join-token
leave
@ -1858,20 +1857,6 @@ _docker_swarm_init() {
esac
}
_docker_swarm_inspect() {
case "$prev" in
--format|-f)
return
;;
esac
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--format -f --help" -- "$cur" ) )
;;
esac
}
_docker_swarm_join() {
case "$prev" in
--token)