Add bash completion for docker-compose run --user

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2015-04-10 19:51:45 +02:00
parent 4926f8aef6
commit 5f17423d3e
1 changed files with 2 additions and 2 deletions
contrib/completion/bash

View File

@ -232,14 +232,14 @@ _docker-compose_run() {
compopt -o nospace compopt -o nospace
return return
;; ;;
--entrypoint) --entrypoint|--user|-u)
return return
;; ;;
esac esac
case "$cur" in case "$cur" in
-*) -*)
COMPREPLY=( $( compgen -W "--allow-insecure-ssl -d --entrypoint -e --no-deps --rm --service-ports -T" -- "$cur" ) ) COMPREPLY=( $( compgen -W "--allow-insecure-ssl -d --entrypoint -e --no-deps --rm --service-ports -T --user -u" -- "$cur" ) )
;; ;;
*) *)
__docker-compose_services_all __docker-compose_services_all