summaryrefslogtreecommitdiff
path: root/cmd/podman/images/inspect.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-09-20 09:33:07 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2021-09-20 12:06:26 -0400
commit3221f50a4582153fa65be4f9493739e1e0ed1c33 (patch)
treed41775fc8fb6ea5f163ca93c0d488bcc9d35a0ab /cmd/podman/images/inspect.go
parentb906ecbb5bc887f5123a0f61a5a51782aa34357f (diff)
downloadpodman-3221f50a4582153fa65be4f9493739e1e0ed1c33.tar.gz
podman-3221f50a4582153fa65be4f9493739e1e0ed1c33.tar.bz2
podman-3221f50a4582153fa65be4f9493739e1e0ed1c33.zip
Add podman image/container inspect man pages
[NO TESTS NEEDED] since this is really a docs change. Concludes: https://github.com/containers/podman/pull/11620 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/images/inspect.go')
-rw-r--r--cmd/podman/images/inspect.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/podman/images/inspect.go b/cmd/podman/images/inspect.go
index 35c173a60..dd8cf8056 100644
--- a/cmd/podman/images/inspect.go
+++ b/cmd/podman/images/inspect.go
@@ -17,9 +17,9 @@ var (
Long: `Displays the low-level information of an image identified by name or ID.`,
RunE: inspectExec,
ValidArgsFunction: common.AutocompleteImages,
- Example: `podman inspect alpine
- podman inspect --format "imageId: {{.Id}} size: {{.Size}}" alpine
- podman inspect --format "image: {{.ImageName}} driver: {{.Driver}}" myctr`,
+ Example: `podman image inspect alpine
+ podman image inspect --format "imageId: {{.Id}} size: {{.Size}}" alpine
+ podman image inspect --format "image: {{.ImageName}} driver: {{.Driver}}" myctr`,
}
inspectOpts *entities.InspectOptions
)