mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
bash completion for docker swarm update --cert-expiry
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
committed by
Tibor Vass
parent
a816f63e57
commit
6cc83d80e0
@@ -1639,9 +1639,15 @@ _docker_swarm_join() {
|
||||
}
|
||||
|
||||
_docker_swarm_update() {
|
||||
case "$prev" in
|
||||
--auto-accept|--cert-expiry|--dispatcher-heartbeat|--secret|--task-history-limit)
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$cur" in
|
||||
-*)
|
||||
COMPREPLY=( $( compgen -W "--auto-accept --dispatcher-heartbeat --help --secret --task-history-limit" -- "$cur" ) )
|
||||
COMPREPLY=( $( compgen -W "--auto-accept --cert-expiry --dispatcher-heartbeat --help --secret --task-history-limit" -- "$cur" ) )
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user