浏览代码

add missing new line escape (#5896)

missing \ was causing command not found errors when tab completing docker build -t <tab>
grh2g46 8 年之前
父节点
当前提交
9bbcceda97
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/docker/_docker

+ 1 - 1
plugins/docker/_docker

@@ -917,7 +917,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)--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]" \