summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2019-02-27 09:34:16 -0700
committerEd Santiago <santiago@redhat.com>2019-02-27 14:19:02 -0700
commit2c0909bccc3648bf40be32232998a87b3a166f1d (patch)
treeac6fb4bbb5e58245c4c65d815d2f15529c3affb9 /cmd
parent7a66ad7fee5037d1087896761814246b2a4cf56f (diff)
downloadpodman-2c0909bccc3648bf40be32232998a87b3a166f1d.tar.gz
podman-2c0909bccc3648bf40be32232998a87b3a166f1d.tar.bz2
podman-2c0909bccc3648bf40be32232998a87b3a166f1d.zip
fixup! Incorporate review feedback
Per tsweeney, add back the original examples Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/exists.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/cmd/podman/exists.go b/cmd/podman/exists.go
index b08761d15..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 alpine || podman pull alpine`,
+ 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 myctr || podman run --name myctr [etc...]`,
+ 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 mypod || podman pod create --name mypod`,
+ Example: `podman pod exists podID
+ podman pod exists mypod || podman pod create --name mypod`,
}
)