mirror of https://github.com/docker/cli.git
Remove bash completion for `docker swarm inspect`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
6ff1bec0ba
commit
bd66024f73
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue