Remove bash completion for `docker swarm inspect`
@@ -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)
