mirror of https://github.com/docker/compose.git
Add bash completion for config subcommand
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
dc39b01e00
commit
a5b48a3dc2
|
@ -102,6 +102,11 @@ _docker_compose_build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
_docker_compose_config() {
|
||||||
|
COMPREPLY=( $( compgen -W "--help --quiet -q --services" -- "$cur" ) )
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
_docker_compose_docker_compose() {
|
_docker_compose_docker_compose() {
|
||||||
case "$prev" in
|
case "$prev" in
|
||||||
--file|-f)
|
--file|-f)
|
||||||
|
@ -373,6 +378,7 @@ _docker_compose() {
|
||||||
|
|
||||||
local commands=(
|
local commands=(
|
||||||
build
|
build
|
||||||
|
config
|
||||||
help
|
help
|
||||||
kill
|
kill
|
||||||
logs
|
logs
|
||||||
|
|
Loading…
Reference in New Issue