mirror of https://github.com/docker/docs.git
Merge pull request #9330 from TomasTomecek/master
docs: man docker-images: inconsistent naming
This commit is contained in:
commit
b487d2f2ff
|
@ -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")
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue