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
contrib/completion/bash
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue