1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

docs: man docker-images: inconsistent naming

Synopsis is mentioning "NAME" while description is describing "REPOSITORY".

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
This commit is contained in:
Tomas Tomecek 2014-11-27 12:54:36 +01:00
parent 27127437a6
commit 095027944f
3 changed files with 3 additions and 3 deletions

View file

@ -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")

View file

@ -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.

View file

@ -725,7 +725,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