Add bash completion for `docker {node rm,swarm leave} -f`

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2016-11-09 11:42:18 -08:00
parent f67d4b897a
commit cc0c14aab7
1 changed files with 2 additions and 2 deletions

View File

@ -2834,7 +2834,7 @@ _docker_swarm_join-token() {
_docker_swarm_leave() {
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--force --help" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--force -f --help" -- "$cur" ) )
;;
esac
}
@ -2950,7 +2950,7 @@ _docker_node_remove() {
_docker_node_rm() {
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--force --help" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--force -f --help" -- "$cur" ) )
;;
*)
__docker_complete_nodes