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() {
|
_docker_swarm() {
|
||||||
local subcommands="
|
local subcommands="
|
||||||
init
|
init
|
||||||
inspect
|
|
||||||
join
|
join
|
||||||
join-token
|
join-token
|
||||||
leave
|
leave
|
||||||
|
@ -1858,20 +1857,6 @@ _docker_swarm_init() {
|
||||||
esac
|
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() {
|
_docker_swarm_join() {
|
||||||
case "$prev" in
|
case "$prev" in
|
||||||
--token)
|
--token)
|
||||||
|
|
Loading…
Reference in New Issue