Diff
1diff --git a/plugins/docker-compose/_docker-compose b/plugins/docker-compose/_docker-compose
2index 808b068a31410f8a9b3f3d70050bff27c9dc64c4..c6b733500b31959c352828fe97c151a1de9f8ffe 100644
3--- a/plugins/docker-compose/_docker-compose
4+++ b/plugins/docker-compose/_docker-compose
5@@ -121,12 +121,6 @@ __docker-compose_subcommand() {
6 '--parallel[Build images in parallel.]' \
7 '*:services:__docker-compose_services_from_build' && ret=0
8 ;;
9- (bundle)
10- _arguments \
11- $opts_help \
12- '--push-images[Automatically push images for any services which have a `build` option specified.]' \
13- '(--output -o)'{--output,-o}'[Path to write the bundle file to. Defaults to "<project name>.dab".]:file:_files' && ret=0
14- ;;
15 (config)
16 _arguments \
17 $opts_help \
18@@ -290,7 +284,7 @@ __docker-compose_subcommand() {
19 (up)
20 _arguments \
21 $opts_help \
22- '(--abort-on-container-exit)-d[Detached mode: Run containers in the background, print new container names. Incompatible with --abort-on-container-exit.]' \
23+ '(--abort-on-container-exit)-d[Detached mode: Run containers in the background, print new container names. Incompatible with --abort-on-container-exit and --attach-dependencies.]' \
24 $opts_no_color \
25 $opts_no_deps \
26 $opts_force_recreate \
27@@ -298,6 +292,7 @@ __docker-compose_subcommand() {
28 $opts_no_build \
29 "(--no-build)--build[Build images before starting containers.]" \
30 "(-d)--abort-on-container-exit[Stops all containers if any container was stopped. Incompatible with -d.]" \
31+ "(-d)--attach-dependencies[Attach to dependent containers. Incompatible with -d.]" \
32 '(-t --timeout)'{-t,--timeout}"[Use this timeout in seconds for container shutdown when attached or when containers are already running. (default: 10)]:seconds: " \
33 '--scale[SERVICE=NUM Scale SERVICE to NUM instances. Overrides the `scale` setting in the Compose file if present.]:service scale SERVICE=NUM: ' \
34 '--exit-code-from=[Return the exit code of the selected service container. Implies --abort-on-container-exit]:service:__docker-compose_services' \
35@@ -341,11 +336,13 @@ _docker-compose() {
36 '(- :)'{-h,--help}'[Get help]' \
37 '*'{-f,--file}"[${file_description}]:file:_files -g '*.yml'" \
38 '(-p --project-name)'{-p,--project-name}'[Specify an alternate project name (default: directory name)]:project name:' \
39+ '--env-file[Specify an alternate environment file (default: .env)]:env-file:_files' \
40 "--compatibility[If set, Compose will attempt to convert keys in v3 files to their non-Swarm equivalent]" \
41 '(- :)'{-v,--version}'[Print version and exit]' \
42 '--verbose[Show more output]' \
43 '--log-level=[Set log level]:level:(DEBUG INFO WARNING ERROR CRITICAL)' \
44 '--no-ansi[Do not print ANSI control characters]' \
45+ '--ansi=[Control when to print ANSI control characters]:when:(never always auto)' \
46 '(-H --host)'{-H,--host}'[Daemon socket to connect to]:host:' \
47 '--tls[Use TLS; implied by --tlsverify]' \
48 '--tlscacert=[Trust certs signed only by this CA]:ca path:' \
49@@ -359,6 +356,7 @@ _docker-compose() {
50 local -a relevant_compose_flags relevant_compose_repeatable_flags relevant_docker_flags compose_options docker_options
51
52 relevant_compose_flags=(
53+ "--env-file"
54 "--file" "-f"
55 "--host" "-H"
56 "--project-name" "-p"