mirror of
https://github.com/docker/compose.git
synced 2025-07-22 13:14:29 +02:00
Add bash completion for --no-ansi
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
c49837fae0
commit
e62c403326
@ -179,7 +179,7 @@ _docker_compose_docker_compose() {
|
|||||||
|
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
-*)
|
-*)
|
||||||
COMPREPLY=( $( compgen -W "$top_level_boolean_options $top_level_options_with_args --help -h --verbose --version -v" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "$top_level_boolean_options $top_level_options_with_args --help -h --no-ansi --verbose --version -v" -- "$cur" ) )
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
COMPREPLY=( $( compgen -W "${commands[*]}" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "${commands[*]}" -- "$cur" ) )
|
||||||
@ -569,8 +569,10 @@ _docker_compose() {
|
|||||||
version
|
version
|
||||||
)
|
)
|
||||||
|
|
||||||
# options for the docker daemon that have to be passed to secondary calls to
|
# Options for the docker daemon that have to be passed to secondary calls to
|
||||||
# docker-compose executed by this script
|
# docker-compose executed by this script.
|
||||||
|
# Other global otions that are not relevant for secondary calls are defined in
|
||||||
|
# `_docker_compose_docker_compose`.
|
||||||
local top_level_boolean_options="
|
local top_level_boolean_options="
|
||||||
--skip-hostname-check
|
--skip-hostname-check
|
||||||
--tls
|
--tls
|
||||||
|
Loading…
x
Reference in New Issue
Block a user