summaryrefslogtreecommitdiff
path: root/cmd/podman/exists.go
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2019-02-27 06:01:14 -0700
committerEd Santiago <santiago@redhat.com>2019-02-27 14:18:15 -0700
commit9a3a59c3a5c838abcd8aaf2217bb3bb5f7e995b2 (patch)
tree147bd07a96f412146c58414b7692070ffb3b7850 /cmd/podman/exists.go
parent4e553cfd468c06ae45a88c51c57137dc4607ffe4 (diff)
downloadpodman-9a3a59c3a5c838abcd8aaf2217bb3bb5f7e995b2.tar.gz
podman-9a3a59c3a5c838abcd8aaf2217bb3bb5f7e995b2.tar.bz2
podman-9a3a59c3a5c838abcd8aaf2217bb3bb5f7e995b2.zip
Followup to #2456: update examples, add trust
- belatedly incorporate review feedback from baude - add usage synopsis for trust-set and trust-show Signed-off-by: Ed Santiago <santiago@redhat.com>
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 c01a6a081..b08761d15 100644
--- a/cmd/podman/exists.go
+++ b/cmd/podman/exists.go
@@ -40,7 +40,7 @@ var (
imageExistsCommand.GlobalFlags = MainGlobalOpts
return imageExistsCmd(&imageExistsCommand)
},
- Example: `podman image exists imageID`,
+ Example: `podman image exists alpine || podman pull alpine`,
}
_containerExistsCommand = &cobra.Command{
@@ -53,7 +53,7 @@ var (
return containerExistsCmd(&containerExistsCommand)
},
- Example: `podman container exists containerID`,
+ Example: `podman container exists myctr || podman run --name myctr [etc...]`,
}
_podExistsCommand = &cobra.Command{
@@ -65,7 +65,7 @@ var (
podExistsCommand.GlobalFlags = MainGlobalOpts
return podExistsCmd(&podExistsCommand)
},
- Example: `podman pod exists podID`,
+ Example: `podman pod exists mypod || podman pod create --name mypod`,
}
)