Fix bash completion for `docker-compose images`

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2017-03-08 13:07:25 -08:00
parent dd4e49ef98
commit 38087a2888
1 changed files with 9 additions and 8 deletions

View File

@ -221,14 +221,14 @@ _docker_compose_help() {
}
_docker_compose_images() {
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--help -q" -- "$cur" ) )
;;
*)
__docker_compose_services_all
;;
esac
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--help -q" -- "$cur" ) )
;;
*)
__docker_compose_services_all
;;
esac
}
_docker_compose_kill() {
@ -508,6 +508,7 @@ _docker_compose() {
events
exec
help
images
kill
logs
pause