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

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 89e0990224f520f8772da4872dd277bae2c1287f
Component: engine
This commit is contained in:
Steve Durrheimer
2015-10-16 08:48:12 +02:00
parent 0425a13d99
commit ef552b72f9

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]" \