mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
bash completion for container labels to service {create,update}
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
bad654b00c
commit
13c138ec2a
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
Add a link
Reference in a new issue