Browse Source

Merge pull request #3217 from sdurrheimer/zsh-completion-up-build

Add zsh completion for 'docker-compose up --build'
Aanand Prasad 9 years ago
parent
commit
024a810617
1 changed files with 1 additions and 0 deletions
  1. 1 0
      contrib/completion/zsh/_docker-compose

+ 1 - 0
contrib/completion/zsh/_docker-compose

@@ -329,6 +329,7 @@ __docker-compose_subcommand() {
             _arguments \
             _arguments \
                 $opts_help \
                 $opts_help \
                 '(--abort-on-container-exit)-d[Detached mode: Run containers in the background, print new container names.]' \
                 '(--abort-on-container-exit)-d[Detached mode: Run containers in the background, print new container names.]' \
+                '--build[Build images before starting containers.]' \
                 '--no-color[Produce monochrome output.]' \
                 '--no-color[Produce monochrome output.]' \
                 "--no-deps[Don't start linked services.]" \
                 "--no-deps[Don't start linked services.]" \
                 "--force-recreate[Recreate containers even if their configuration and image haven't changed. Incompatible with --no-recreate.]" \
                 "--force-recreate[Recreate containers even if their configuration and image haven't changed. Incompatible with --no-recreate.]" \