mirror of
https://github.com/docker/cli.git
synced 2026-01-06 05:41:44 +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>
This commit is contained in:
committed by
Tibor Vass
parent
0f6fa225d1
commit
c9afee3afa
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user