瀏覽代碼

Merge pull request #9330 from TomasTomecek/master

docs: man docker-images: inconsistent naming
Sven Dowideit 10 年之前
父節點
當前提交
b487d2f2ff
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      api/client/commands.go
  2. 1 1
      docs/man/docker-images.1.md
  3. 1 1
      docs/sources/reference/commandline/cli.md

+ 1 - 1
api/client/commands.go

@@ -1328,7 +1328,7 @@ func (cli *DockerCli) CmdPull(args ...string) error {
 }
 }
 
 
 func (cli *DockerCli) CmdImages(args ...string) error {
 func (cli *DockerCli) CmdImages(args ...string) error {
-	cmd := cli.Subcmd("images", "[NAME]", "List images")
+	cmd := cli.Subcmd("images", "[REPOSITORY]", "List images")
 	quiet := cmd.Bool([]string{"q", "-quiet"}, false, "Only show numeric IDs")
 	quiet := cmd.Bool([]string{"q", "-quiet"}, false, "Only show numeric IDs")
 	all := cmd.Bool([]string{"a", "-all"}, false, "Show all images (by default filter out the intermediate image layers)")
 	all := cmd.Bool([]string{"a", "-all"}, false, "Show all images (by default filter out the intermediate image layers)")
 	noTrunc := cmd.Bool([]string{"#notrunc", "-no-trunc"}, false, "Don't truncate output")
 	noTrunc := cmd.Bool([]string{"#notrunc", "-no-trunc"}, false, "Don't truncate output")

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

@@ -10,7 +10,7 @@ docker-images - List images
 [**-f**|**--filter**[=*[]*]]
 [**-f**|**--filter**[=*[]*]]
 [**--no-trunc**[=*false*]]
 [**--no-trunc**[=*false*]]
 [**-q**|**--quiet**[=*false*]]
 [**-q**|**--quiet**[=*false*]]
- [NAME]
+ [REPOSITORY]
 
 
 # DESCRIPTION
 # DESCRIPTION
 This command lists the images stored in the local Docker repository.
 This command lists the images stored in the local Docker repository.

+ 1 - 1
docs/sources/reference/commandline/cli.md

@@ -779,7 +779,7 @@ To see how the `docker:latest` image was built:
 
 
 ## images
 ## images
 
 
-    Usage: docker images [OPTIONS] [NAME]
+    Usage: docker images [OPTIONS] [REPOSITORY]
 
 
     List images
     List images