summaryrefslogtreecommitdiff
path: root/cmd/podman/exists.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-15 00:07:34 +0100
committerGitHub <noreply@github.com>2019-02-15 00:07:34 +0100
commit81ace5caaca844eda4be48245590ea54bdd0cba3 (patch)
tree31313c4e0ef1730bf89014a1461aa5d6e0a71c65 /cmd/podman/exists.go
parentae8cc41295c4ff6f6f82372221c66c250691e4f6 (diff)
parenta7a691809a3125cce691c7934a98a2511b9cb6db (diff)
downloadpodman-81ace5caaca844eda4be48245590ea54bdd0cba3.tar.gz
podman-81ace5caaca844eda4be48245590ea54bdd0cba3.tar.bz2
podman-81ace5caaca844eda4be48245590ea54bdd0cba3.zip
Merge pull request #2333 from TomSweeneyRedHat/dev/tsweeney/helpexamples
Add examples for Cobra
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`,
}
)