Browse Source

Add zsh completion for 'docker-compose build --build-arg'

Signed-off-by: Steve Durrheimer <[email protected]>
Steve Durrheimer 8 years ago
parent
commit
29d23c2793
1 changed files with 1 additions and 0 deletions
  1. 1 0
      contrib/completion/zsh/_docker-compose

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

@@ -199,6 +199,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.]' \