mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
bash completion for docker-compose down
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
8fca4f1628
commit
a7be0afa5b
@ -129,6 +129,22 @@ _docker_compose_docker_compose() {
|
||||
}
|
||||
|
||||
|
||||
_docker_compose_down() {
|
||||
case "$prev" in
|
||||
--rmi)
|
||||
COMPREPLY=( $( compgen -W "all local" -- "$cur" ) )
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$cur" in
|
||||
-*)
|
||||
COMPREPLY=( $( compgen -W "--help --rmi --volumes -v" -- "$cur" ) )
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
_docker_compose_events() {
|
||||
case "$prev" in
|
||||
--json)
|
||||
@ -393,6 +409,7 @@ _docker_compose() {
|
||||
local commands=(
|
||||
build
|
||||
config
|
||||
down
|
||||
events
|
||||
help
|
||||
kill
|
||||
|
Loading…
x
Reference in New Issue
Block a user