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:
@ -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]" \
|
||||
|
||||
Reference in New Issue
Block a user