Merge pull request #25059 from albers/completion-service-labels
bash completion for container labels to `service {create,update}`
Upstream-commit: 238ecaf008c5bf483f68838ff6a213a3ae1f77a4
Component: engine
This commit is contained in:
@@ -1741,6 +1741,7 @@ _docker_service_update() {
|
||||
|
||||
if [ "$subcommand" = "create" ] ; then
|
||||
options_with_args="$options_with_args
|
||||
--container-label
|
||||
--mode
|
||||
"
|
||||
|
||||
@@ -1754,6 +1755,8 @@ _docker_service_update() {
|
||||
if [ "$subcommand" = "update" ] ; then
|
||||
options_with_args="$options_with_args
|
||||
--arg
|
||||
--container-label-add
|
||||
--container-label-rm
|
||||
--image
|
||||
"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user