|
@@ -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
|