mirror of
https://github.com/docker/compose.git
synced 2025-05-11 01:50:11 +02:00
Merge pull request #2518 from albers/completion-config
Add bash completion for config subcommand
This commit is contained in:
commit
67829f08b6
@ -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…
x
Reference in New Issue
Block a user