1
0
mirror of https://github.com/docker/cli.git synced 2026-01-15 07:40:57 +03:00

Fix bash-completion script.

bash-completion script for 'docker build --network' calls
__docker_plugins, the correct name for this function is
__docker_plugins_bundled.

Closes #32588

Signed-off-by: Corey Farrell <git@cfware.com>
Upstream-commit: eede2056fedf1b9d18c0dce216d5adde0bd394da
Component: engine
This commit is contained in:
Corey Farrell
2017-04-12 21:30:57 -04:00
parent 7cbfe4a756
commit 3797bbe864

View File

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