浏览代码

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

Add zsh completion for 'docker-compose up --build'
Aanand Prasad 9 年之前
父节点
当前提交
024a810617
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      contrib/completion/zsh/_docker-compose

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

@@ -329,6 +329,7 @@ __docker-compose_subcommand() {
             _arguments \
                 $opts_help \
                 '(--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-deps[Don't start linked services.]" \
                 "--force-recreate[Recreate containers even if their configuration and image haven't changed. Incompatible with --no-recreate.]" \