1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #25059 from albers/completion-service-labels

bash completion for container labels to `service {create,update}`
This commit is contained in:
Sebastiaan van Stijn 2016-07-26 13:51:02 +02:00 committed by GitHub
commit 238ecaf008

View file

@ -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
" "