From 64497042324e9f6ff6663e3dd5c61157f4137531 Mon Sep 17 00:00:00 2001 From: umohnani8 Date: Mon, 16 Apr 2018 10:53:23 -0400 Subject: Modify diff and inspect docs Format the examples in podman-diff.md better. The description for --type in the inspect docs was slightly different from that in the inline help. Also stated what values to use in the Go template for the --format flag. Signed-off-by: umohnani8 Closes: #620 Approved by: mheon --- docs/podman-diff.1.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'docs/podman-diff.1.md') diff --git a/docs/podman-diff.1.md b/docs/podman-diff.1.md index 1ba5951db..a673c85c6 100644 --- a/docs/podman-diff.1.md +++ b/docs/podman-diff.1.md @@ -20,13 +20,16 @@ Alter the output into a different format. The only valid format for diff is `js ## EXAMPLE -podman diff redis:alpine +``` +# podman diff redis:alpine C /usr C /usr/local C /usr/local/bin A /usr/local/bin/docker-entrypoint.sh +``` -podman diff --format json redis:alpine +``` +# podman diff --format json redis:alpine { "changed": [ "/usr", @@ -37,6 +40,7 @@ podman diff --format json redis:alpine "/usr/local/bin/docker-entrypoint.sh" ] } +``` ## SEE ALSO podman(1) -- cgit v1.2.3-54-g00ecf