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

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
Steve Durrheimer
2017-06-02 00:07:13 +00:00
committed by Tibor Vass
parent b6b1fc6a34
commit 96af7e18b9
+1
View File
@@ -459,6 +459,7 @@ __docker_subcommand() {
_arguments \
$opts_help \
$opts_cpumemlimit \
"($help)*--build-arg[Set build-time variables]:<varname>=<value>: " \
"($help -f --file)"{-f,--file=-}"[Name of the Dockerfile]:Dockerfile:_files" \
"($help)--force-rm[Always remove intermediate containers]" \
"($help)--no-cache[Do not use cache when building the image]" \