Apply suggestions from code review

Co-authored-by: Tom Sweeney <tsweeney@redhat.com>
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh
2024-02-20 05:38:19 -05:00
committed by GitHub
parent 8cbbd631d3
commit b8c1a8e79d

View File

@ -54,7 +54,7 @@ Print the numeric IDs only (default *false*).
## EXAMPLES
Show history of specified image:
Show the history of the specified image:
```
$ podman history debian
ID CREATED CREATED BY SIZE COMMENT
@ -62,7 +62,7 @@ b676ca55e4f2c 9 weeks ago /bin/sh -c #(nop) CMD ["bash"] 0
<missing> 9 weeks ago /bin/sh -c #(nop) ADD file:ebba725fb97cea4... 45.14 MB
```
Show history of specified image without truncating content and using raw data:
Show the history of the specified image without truncating content and using raw data:
```
$ podman history --no-trunc=true --human=false debian
ID CREATED CREATED BY SIZE COMMENT
@ -70,14 +70,14 @@ b676ca55e4f2c 2017-07-24T16:52:55Z /bin/sh -c #(nop) CMD ["bash"]
<missing> 2017-07-24T16:52:54Z /bin/sh -c #(nop) ADD file:ebba725fb97cea4... 45142935
```
Show formatted history of specified image:
Show the formatted history of the specified image:
```
$ podman history --format "{{.ID}} {{.Created}}" debian
b676ca55e4f2c 9 weeks ago
<missing> 9 weeks ago
```
Show history in json format for specified image:
Show the history in JSON format for the specified image:
```
$ podman history --format json debian
[