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:
commit
238ecaf008
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue