Merge pull request #17102 from sdurrheimer/zsh-completion-build-build-arg
Add zsh completion for 'docker build --build-arg' Upstream-commit: 579cf43f0fb266489da06ce93a5200cf53c9b37a 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