From 2d99344d3c55672e1d2805610835bf8b74cf1cfa Mon Sep 17 00:00:00 2001 From: yuexiao-wang Date: Fri, 28 Oct 2016 22:31:20 +0800 Subject: [PATCH] Add --format to man and fix some typos Signed-off-by: yuexiao-wang --- docs/reference/commandline/images.md | 10 +++++----- man/docker-images.1.md | 9 +++++---- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/docs/reference/commandline/images.md b/docs/reference/commandline/images.md index a8c75f6775..75dd1d6f19 100644 --- a/docs/reference/commandline/images.md +++ b/docs/reference/commandline/images.md @@ -134,8 +134,8 @@ The currently supported filters are: * dangling (boolean - true or false) * label (`label=` or `label==`) -* before (`[:]`, `` or ``) - filters images created before given id or references -* since (`[:]`, `` or ``) - filters images created since given id or references +* before (`[:]`, `` or ``) - filter images created before given id or references +* since (`[:]`, `` or ``) - filter images created since given id or references ##### Untagged images (dangling) @@ -243,9 +243,9 @@ Placeholder | Description `.Repository` | Image repository `.Tag` | Image tag `.Digest` | Image digest -`.CreatedSince` | Elapsed time since the image was created. -`.CreatedAt` | Time when the image was created. -`.Size` | Image disk size. +`.CreatedSince` | Elapsed time since the image was created +`.CreatedAt` | Time when the image was created +`.Size` | Image disk size When using the `--format` option, the `image` command will either output the data exactly as the template declares or, when using the diff --git a/man/docker-images.1.md b/man/docker-images.1.md index d8a4ac4b03..bfe31316dc 100644 --- a/man/docker-images.1.md +++ b/man/docker-images.1.md @@ -10,6 +10,7 @@ docker-images - List images [**-a**|**--all**] [**--digests**] [**-f**|**--filter**[=*[]*]] +[**--format**=*"TEMPLATE"*] [**--no-trunc**] [**-q**|**--quiet**] [REPOSITORY[:TAG]] @@ -39,7 +40,7 @@ versions. **-f**, **--filter**=[] Filters the output based on these conditions: - - dangling=(true|false) - finds unused images. + - dangling=(true|false) - find unused images - label= or label== - before=([:tag]||) - since=([:tag]||) @@ -51,9 +52,9 @@ versions. .Repository - Image repository .Tag - Image tag .Digest - Image digest - .CreatedSince - Elapsed time since the image was created. - .CreatedAt - Time when the image was created.. - .Size - Image disk size. + .CreatedSince - Elapsed time since the image was created + .CreatedAt - Time when the image was created + .Size - Image disk size **--help** Print usage statement