Add bash completion for docker service create --env-file

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 7e7a47405a
Component: cli
This commit is contained in:
Harald Albers
2016-10-28 12:53:32 +02:00
committed by Tibor Vass
parent 69778781aa
commit dcd1a6737a

View File

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