mirror of
https://github.com/containers/podman.git
synced 2025-05-25 19:16:59 +08:00
Fix up example description of podman-diff.1.md.in
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
@ -27,11 +27,13 @@ Alter the output into a different format. The only valid format for **podman di
|
|||||||
|
|
||||||
## EXAMPLE
|
## EXAMPLE
|
||||||
|
|
||||||
|
Show container-modified files versus containers image:
|
||||||
```
|
```
|
||||||
$ podman diff container1
|
$ podman diff container1
|
||||||
A /myscript.sh
|
A /myscript.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Show container-modified files versus containers image in JSON format:
|
||||||
```
|
```
|
||||||
$ podman diff --format json myimage
|
$ podman diff --format json myimage
|
||||||
{
|
{
|
||||||
@ -46,6 +48,7 @@ $ podman diff --format json myimage
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Show difference between specified container and image:
|
||||||
```
|
```
|
||||||
$ podman diff container1 image1
|
$ podman diff container1 image1
|
||||||
A /test
|
A /test
|
||||||
|
Reference in New Issue
Block a user