1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00

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>
Upstream-commit: c9afee3afa
Component: cli
This commit is contained in:
Harald Albers
2016-11-12 10:49:48 -08:00
committed by Tibor Vass
parent 89fa0b58ba
commit fbcac7bead

View File

@@ -2656,6 +2656,7 @@ _docker_service_update() {
--hostname
--mode
--name
--port
"
case "$prev" in
@@ -2687,6 +2688,8 @@ _docker_service_update() {
--group-add
--group-rm
--image
--port-add
--port-rm
"
case "$prev" in