Merge pull request #2518 from albers/completion-config

Add bash completion for config subcommand
This commit is contained in:
Aanand Prasad 2015-12-09 12:43:41 +00:00
commit 67829f08b6
1 changed files with 6 additions and 0 deletions

View File

@ -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