summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-20 14:35:45 -0400
committerGitHub <noreply@github.com>2021-09-20 14:35:45 -0400
commit7e8ce73c15036d50fc31f763c903c264392f1e04 (patch)
treef334b87fdf28577f212414442f794fc2170be09c /cmd
parent791458605af79e17e12a5a56fff30742ea0ff310 (diff)
parent3221f50a4582153fa65be4f9493739e1e0ed1c33 (diff)
downloadpodman-7e8ce73c15036d50fc31f763c903c264392f1e04.tar.gz
podman-7e8ce73c15036d50fc31f763c903c264392f1e04.tar.bz2
podman-7e8ce73c15036d50fc31f763c903c264392f1e04.zip
Merge pull request #11660 from rhatdan/docs
Add podman image/container inspect man pages
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/images/inspect.go6
-rw-r--r--cmd/podman/networks/inspect.go2
2 files changed, 4 insertions, 4 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
)
diff --git a/cmd/podman/networks/inspect.go b/cmd/podman/networks/inspect.go
index c0e5b9720..4f3e86fc9 100644
--- a/cmd/podman/networks/inspect.go
+++ b/cmd/podman/networks/inspect.go
@@ -12,7 +12,7 @@ var (
networkinspectDescription = `Inspect network`
networkinspectCommand = &cobra.Command{
Use: "inspect [options] NETWORK [NETWORK...]",
- Short: "network inspect",
+ Short: "Displays the raw CNI network configuration for one or more networks.",
Long: networkinspectDescription,
RunE: networkInspect,
Example: `podman network inspect podman`,