summaryrefslogtreecommitdiff
path: root/cmd/podman/exists.go
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2019-02-13 19:22:29 -0500
committerTomSweeneyRedHat <tsweeney@redhat.com>2019-02-14 15:03:11 -0500
commita7a691809a3125cce691c7934a98a2511b9cb6db (patch)
tree0858caddc0d93f7a8fe2ae4f3654a822c97ec66f /cmd/podman/exists.go
parentdd82acd8ba02be51ec5fea65584e1f7b2036d7c8 (diff)
downloadpodman-a7a691809a3125cce691c7934a98a2511b9cb6db.tar.gz
podman-a7a691809a3125cce691c7934a98a2511b9cb6db.tar.bz2
podman-a7a691809a3125cce691c7934a98a2511b9cb6db.zip
Add examples for Cobra
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> First pass of entries for the Examples listed in the Cobra Help. Will add others in following PR's.
Diffstat (limited to 'cmd/podman/exists.go')
-rw-r--r--cmd/podman/exists.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/podman/exists.go b/cmd/podman/exists.go
index 15ddaec06..7645bb716 100644
--- a/cmd/podman/exists.go
+++ b/cmd/podman/exists.go
@@ -41,7 +41,7 @@ var (
imageExistsCommand.GlobalFlags = MainGlobalOpts
return imageExistsCmd(&imageExistsCommand)
},
- Example: "IMAGE-NAME",
+ Example: `podman image exists imageID`,
}
_containerExistsCommand = &cobra.Command{
@@ -54,7 +54,7 @@ var (
return containerExistsCmd(&containerExistsCommand)
},
- Example: "CONTAINER-NAME",
+ Example: `podman container exists containerID`,
}
_podExistsCommand = &cobra.Command{
@@ -66,7 +66,7 @@ var (
podExistsCommand.GlobalFlags = MainGlobalOpts
return podExistsCmd(&podExistsCommand)
},
- Example: "POD-NAME",
+ Example: `podman pod exists podID`,
}
)