Merge pull request #17102 from sdurrheimer/zsh-completion-build-build-arg

Add zsh completion for 'docker build --build-arg'
This commit is contained in:
David Calavera 2015-10-16 08:34:12 -07:00
commit 579cf43f0f
1 changed files with 1 additions and 0 deletions

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