mirror of https://github.com/docker/compose.git
Add bash completion for docker-compose run --user
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
4926f8aef6
commit
5f17423d3e
|
@ -232,14 +232,14 @@ _docker-compose_run() {
|
|||
compopt -o nospace
|
||||
return
|
||||
;;
|
||||
--entrypoint)
|
||||
--entrypoint|--user|-u)
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue