Browse Source

Merge pull request #26270 from AkihiroSuda/fix-typo-docker-images

[nit] fix the man page and zsh completion for `docker images`
Vincent Demeester 8 năm trước cách đây
mục cha
commit
be9e3f59e6
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      contrib/completion/zsh/_docker
  2. 1 1
      man/docker-images.1.md

+ 1 - 1
contrib/completion/zsh/_docker

@@ -1704,7 +1704,7 @@ __docker_subcommand() {
                 "($help -a --all)"{-a,--all}"[Show all images]" \
                 "($help)--digests[Show digests]" \
                 "($help)*"{-f=,--filter=}"[Filter values]:filter:->filter-options" \
-                "($help)--format[Pretty-print containers using a Go template]:template: " \
+                "($help)--format[Pretty-print images using a Go template]:template: " \
                 "($help)--no-trunc[Do not truncate output]" \
                 "($help -q --quiet)"{-q,--quiet}"[Only show numeric IDs]" \
                 "($help -): :__docker_repositories" && ret=0

+ 1 - 1
man/docker-images.1.md

@@ -45,7 +45,7 @@ versions.
    - since=(<image-name>[:tag]|<image-id>|<image@digest>)
 
 **--format**="*TEMPLATE*"
-   Pretty-print containers using a Go template.
+   Pretty-print images using a Go template.
    Valid placeholders:
       .ID - Image ID
       .Repository - Image repository