diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index 52577ece5e..3e74ebf9c6 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -5154,6 +5154,10 @@ _docker_system_events() { __docker_complete_networks --cur "${cur##*=}" return ;; + node) + __docker_complete_nodes --cur "${cur##*=}" + return + ;; scope) COMPREPLY=( $( compgen -W "local swarm" -- "${cur##*=}" ) ) return @@ -5170,7 +5174,7 @@ _docker_system_events() { case "$prev" in --filter|-f) - COMPREPLY=( $( compgen -S = -W "container daemon event image label network scope type volume" -- "$cur" ) ) + COMPREPLY=( $( compgen -S = -W "container daemon event image label network node scope type volume" -- "$cur" ) ) __docker_nospace return ;;