diff --git a/api/client/commands.go b/api/client/commands.go index b2561104a73fc8a68fb4464706ddf5650065939e..26dea6c29aba9c837c9725bf27c98f41d304f41f 100644 --- a/api/client/commands.go +++ b/api/client/commands.go @@ -1328,7 +1328,7 @@ func (cli *DockerCli) CmdPull(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") 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") diff --git a/docs/man/docker-images.1.md b/docs/man/docker-images.1.md index c572ee674bc1c66c54f43f39f472158974f240fa..88a94827dc0eb7c2d35742b49b2efe1bab48d5ad 100644 --- a/docs/man/docker-images.1.md +++ b/docs/man/docker-images.1.md @@ -10,7 +10,7 @@ docker-images - List images [**-f**|**--filter**[=*[]*]] [**--no-trunc**[=*false*]] [**-q**|**--quiet**[=*false*]] - [NAME] + [REPOSITORY] # DESCRIPTION This command lists the images stored in the local Docker repository. diff --git a/docs/sources/reference/commandline/cli.md b/docs/sources/reference/commandline/cli.md index b9c2945707e32f04f587c5aca1ed7bf056001c3e..94ae5a72c2119088fd9b8de7403672fdb6be3a65 100644 --- a/docs/sources/reference/commandline/cli.md +++ b/docs/sources/reference/commandline/cli.md @@ -725,7 +725,7 @@ To see how the `docker:latest` image was built: ## images - Usage: docker images [OPTIONS] [NAME] + Usage: docker images [OPTIONS] [REPOSITORY] List images