Merge pull request #32589 from coreyfarrell/build-network-bash-completion
Fix bash-completion script. Upstream-commit: aa22bcb652795d2b26381bba60dafb3fa17aa87e Component: engine
This commit is contained in:
@@ -2258,7 +2258,7 @@ _docker_image_build() {
|
||||
__docker_complete_containers_all --cur "${cur#*:}"
|
||||
;;
|
||||
*)
|
||||
COMPREPLY=( $( compgen -W "$(__docker_plugins --type Network) $(__docker_networks) container:" -- "$cur") )
|
||||
COMPREPLY=( $( compgen -W "$(__docker_plugins_bundled --type Network) $(__docker_networks) container:" -- "$cur") )
|
||||
if [ "${COMPREPLY[*]}" = "container:" ] ; then
|
||||
__docker_nospace
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user