Browse code

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

Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 13c138ec2a896a87da8fa81693975e7ffbec85fd)
Signed-off-by: Tibor Vass <tibor@docker.com>

Harald Albers authored on 2016/07/26 20:45:57
Showing 1 changed files
... ...
@@ -1741,6 +1741,7 @@ _docker_service_update() {
1741 1741
 
1742 1742
 	if [ "$subcommand" = "create" ] ; then
1743 1743
 		options_with_args="$options_with_args
1744
+			--container-label
1744 1745
 			--mode
1745 1746
 		"
1746 1747
 
... ...
@@ -1754,6 +1755,8 @@ _docker_service_update() {
1754 1754
 	if [ "$subcommand" = "update" ] ; then
1755 1755
 		options_with_args="$options_with_args
1756 1756
 			--arg
1757
+			--container-label-add
1758
+			--container-label-rm
1757 1759
 			--image
1758 1760
 		"
1759 1761