Bläddra i källkod

bash completion for container labels to `service {create,update}`

Signed-off-by: Harald Albers <github@albersweb.de>
Harald Albers 9 år sedan
förälder
incheckning
13c138ec2a
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3 0
      contrib/completion/bash/docker

+ 3 - 0
contrib/completion/bash/docker

@@ -1741,6 +1741,7 @@ _docker_service_update() {
 
 
 	if [ "$subcommand" = "create" ] ; then
 	if [ "$subcommand" = "create" ] ; then
 		options_with_args="$options_with_args
 		options_with_args="$options_with_args
+			--container-label
 			--mode
 			--mode
 		"
 		"
 
 
@@ -1754,6 +1755,8 @@ _docker_service_update() {
 	if [ "$subcommand" = "update" ] ; then
 	if [ "$subcommand" = "update" ] ; then
 		options_with_args="$options_with_args
 		options_with_args="$options_with_args
 			--arg
 			--arg
+			--container-label-add
+			--container-label-rm
 			--image
 			--image
 		"
 		"