Ver código fonte

Fix a minor typo

Docker inspect can also be used on images, this patch fixed the
minor typo in file docker/flags.go and docs/man/docker.1.md

Signed-off-by:  DiuDiugirl <sophia.wang@pku.edu.cn>
DiuDiugirl 10 anos atrás
pai
commit
471006c02f
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      docker/flags.go
  2. 1 1
      docs/man/docker.1.md

+ 1 - 1
docker/flags.go

@@ -97,7 +97,7 @@ func init() {
 			{"images", "List images"},
 			{"images", "List images"},
 			{"import", "Create a new filesystem image from the contents of a tarball"},
 			{"import", "Create a new filesystem image from the contents of a tarball"},
 			{"info", "Display system-wide information"},
 			{"info", "Display system-wide information"},
-			{"inspect", "Return low-level information on a container"},
+			{"inspect", "Return low-level information on a container or image"},
 			{"kill", "Kill a running container"},
 			{"kill", "Kill a running container"},
 			{"load", "Load an image from a tar archive"},
 			{"load", "Load an image from a tar archive"},
 			{"login", "Register or log in to a Docker registry server"},
 			{"login", "Register or log in to a Docker registry server"},

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

@@ -144,7 +144,7 @@ unix://[/path/to/socket] to use.
   Display system-wide information
   Display system-wide information
 
 
 **docker-inspect(1)**
 **docker-inspect(1)**
-  Return low-level information on a container
+  Return low-level information on a container or image
 
 
 **docker-kill(1)**
 **docker-kill(1)**
   Kill a running container (which includes the wrapper process and everything
   Kill a running container (which includes the wrapper process and everything