mirror of
https://github.com/containers/podman.git
synced 2025-06-22 01:48:54 +08:00
fixup! Incorporate review feedback
Per tsweeney, add back the original examples Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -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`,
|
||||
}
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user