diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-02-27 23:11:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-27 23:11:37 +0100 |
commit | 8d120bab839fccc7499353d4d6babdfc4ae3a82e (patch) | |
tree | ac6fb4bbb5e58245c4c65d815d2f15529c3affb9 /cmd/podman/exists.go | |
parent | 4e553cfd468c06ae45a88c51c57137dc4607ffe4 (diff) | |
parent | 2c0909bccc3648bf40be32232998a87b3a166f1d (diff) | |
download | podman-8d120bab839fccc7499353d4d6babdfc4ae3a82e.tar.gz podman-8d120bab839fccc7499353d4d6babdfc4ae3a82e.tar.bz2 podman-8d120bab839fccc7499353d4d6babdfc4ae3a82e.zip |
Merge pull request #2463 from edsantiago/missed_some_synopses
Followup to #2456: update examples, add trust
Diffstat (limited to 'cmd/podman/exists.go')
-rw-r--r-- | cmd/podman/exists.go | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/cmd/podman/exists.go b/cmd/podman/exists.go index c01a6a081..109831e74 100644 --- a/cmd/podman/exists.go +++ b/cmd/podman/exists.go @@ -40,7 +40,8 @@ var ( imageExistsCommand.GlobalFlags = MainGlobalOpts return imageExistsCmd(&imageExistsCommand) }, - Example: `podman image exists imageID`, + Example: `podman image exists imageID + podman image exists alpine || podman pull alpine`, } _containerExistsCommand = &cobra.Command{ @@ -53,7 +54,8 @@ var ( return containerExistsCmd(&containerExistsCommand) }, - Example: `podman container exists containerID`, + Example: `podman container exists containerID + podman container exists myctr || podman run --name myctr [etc...]`, } _podExistsCommand = &cobra.Command{ @@ -65,7 +67,8 @@ var ( podExistsCommand.GlobalFlags = MainGlobalOpts return podExistsCmd(&podExistsCommand) }, - Example: `podman pod exists podID`, + Example: `podman pod exists podID + podman pod exists mypod || podman pod create --name mypod`, } ) |