Skip to content

Commit

Permalink
fixup! Incorporate review feedback
Browse files Browse the repository at this point in the history
Per tsweeney, add back the original examples

Signed-off-by: Ed Santiago <[email protected]>
  • Loading branch information
edsantiago committed Feb 27, 2019
1 parent 7a66ad7 commit 2c0909b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions cmd/podman/exists.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand All @@ -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{
Expand All @@ -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`,
}
)

Expand Down

0 comments on commit 2c0909b

Please sign in to comment.