Add bash completion for docker service create --env-file
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
0aaef963a8
commit
b2db0cdae7
1 changed files with 5 additions and 0 deletions
|
@ -2606,11 +2606,16 @@ _docker_service_update() {
|
|||
if [ "$subcommand" = "create" ] ; then
|
||||
options_with_args="$options_with_args
|
||||
--container-label
|
||||
--env-file
|
||||
--mode
|
||||
--name
|
||||
"
|
||||
|
||||
case "$prev" in
|
||||
--env-file)
|
||||
_filedir
|
||||
return
|
||||
;;
|
||||
--mode)
|
||||
COMPREPLY=( $( compgen -W "global replicated" -- "$cur" ) )
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue