bash completion for docker network create --internal, --ipam-opt
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
82401a4b13
commit
6ae4ffb6e5
1 changed files with 2 additions and 2 deletions
|
@ -1170,7 +1170,7 @@ _docker_network_connect() {
|
||||||
|
|
||||||
_docker_network_create() {
|
_docker_network_create() {
|
||||||
case "$prev" in
|
case "$prev" in
|
||||||
--aux-address|--gateway|--ip-range|--opt|-o|--subnet)
|
--aux-address|--gateway|--ip-range|--ipam-opt|--opt|-o|--subnet)
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
--ipam-driver)
|
--ipam-driver)
|
||||||
|
@ -1189,7 +1189,7 @@ _docker_network_create() {
|
||||||
|
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
-*)
|
-*)
|
||||||
COMPREPLY=( $( compgen -W "--aux-address --driver -d --gateway --help --ip-range --ipam-driver --opt -o --subnet" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "--aux-address --driver -d --gateway --help --internal --ip-range --ipam-driver --ipam-opt --opt -o --subnet" -- "$cur" ) )
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue