mirror of https://github.com/docker/cli.git
Add bash completion for managing ports in services
Bash completion for - `docker service create --port` - `docker service update --port-{add,rm}` Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
0f6fa225d1
commit
c9afee3afa
|
@ -2656,6 +2656,7 @@ _docker_service_update() {
|
||||||
--hostname
|
--hostname
|
||||||
--mode
|
--mode
|
||||||
--name
|
--name
|
||||||
|
--port
|
||||||
"
|
"
|
||||||
|
|
||||||
case "$prev" in
|
case "$prev" in
|
||||||
|
@ -2687,6 +2688,8 @@ _docker_service_update() {
|
||||||
--group-add
|
--group-add
|
||||||
--group-rm
|
--group-rm
|
||||||
--image
|
--image
|
||||||
|
--port-add
|
||||||
|
--port-rm
|
||||||
"
|
"
|
||||||
|
|
||||||
case "$prev" in
|
case "$prev" in
|
||||||
|
|
Loading…
Reference in New Issue