Browse Source

Fix bash completion for `docker service update`

Signed-off-by: Harald Albers <github@albersweb.de>
Harald Albers 8 years ago
parent
commit
01ac33ce16
1 changed files with 1 additions and 2 deletions
  1. 1 2
      contrib/completion/bash/docker

+ 1 - 2
contrib/completion/bash/docker

@@ -2751,7 +2751,6 @@ _docker_service_update() {
 		--mount
 		--network
 		--no-healthcheck
-		--publish -p
 		--replicas
 		--reserve-cpu
 		--reserve-memory
@@ -2789,7 +2788,7 @@ _docker_service_update() {
 			--host
 			--mode
 			--name
-			--publish
+			--publish -p
 			--secret
 		"