Browse Source

Merge pull request #4684 from sdurrheimer/zsh-completion-build-build-arg

Add zsh completion for 'docker-compose build --build-arg'
Joffrey F 8 years ago
parent
commit
5230396543
1 changed files with 1 additions and 0 deletions
  1. 1 0
      contrib/completion/zsh/_docker-compose

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

@@ -194,6 +194,7 @@ __docker-compose_subcommand() {
         (build)
             _arguments \
                 $opts_help \
+                "*--build-arg=[Set build-time variables for one service.]:<varname>=<value>: " \
                 '--force-rm[Always remove intermediate containers.]' \
                 '--no-cache[Do not use cache when building the image.]' \
                 '--pull[Always attempt to pull a newer version of the image.]' \