Explorar o código

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

Signed-off-by: Steve Durrheimer <[email protected]>
Steve Durrheimer %!s(int64=8) %!d(string=hai) anos
pai
achega
29d23c2793
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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.]' \