Selaa lähdekoodia

Add zsh completion for 'docker image build --network'

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Steve Durrheimer 8 vuotta sitten
vanhempi
commit
11bfa638fe
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      contrib/completion/zsh/_docker

+ 1 - 0
contrib/completion/zsh/_docker

@@ -918,6 +918,7 @@ __docker_image_subcommand() {
                 "($help)*--label=[Set metadata for an image]:label=value: " \
                 "($help -m --memory)"{-m=,--memory=}"[Memory limit]:Memory limit: " \
                 "($help)--memory-swap=[Total memory limit with swap]:Memory limit: " \
+                "($help)--network=[Connect a container to a network]:network mode:(bridge none container host)"
                 "($help)--no-cache[Do not use cache when building the image]" \
                 "($help)--pull[Attempt to pull a newer version of the image]" \
                 "($help -q --quiet)"{-q,--quiet}"[Suppress verbose build output]" \