summaryrefslogtreecommitdiff
path: root/cmd/podman/stop.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-17 22:44:04 +0100
committerGitHub <noreply@github.com>2019-02-17 22:44:04 +0100
commit3f32eae56fed23e93c45d7da53da33702e954a26 (patch)
treecf3b89fca4fbbe365f2ebca71ed26980c5307523 /cmd/podman/stop.go
parent6aaf8d39a9a26510e40fd54399e97fe177afadde (diff)
parentb62c0e703d70439c677205fb423e81491e8d1cf9 (diff)
downloadpodman-3f32eae56fed23e93c45d7da53da33702e954a26.tar.gz
podman-3f32eae56fed23e93c45d7da53da33702e954a26.tar.bz2
podman-3f32eae56fed23e93c45d7da53da33702e954a26.zip
Merge pull request #2357 from TomSweeneyRedHat/dev/tsweeney/cobrahelp3
Add 3rd chunk of Cobra examples
Diffstat (limited to 'cmd/podman/stop.go')
-rw-r--r--cmd/podman/stop.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/stop.go b/cmd/podman/stop.go
index 134d8a069..15c3984f4 100644
--- a/cmd/podman/stop.go
+++ b/cmd/podman/stop.go
@@ -31,7 +31,9 @@ var (
stopCommand.GlobalFlags = MainGlobalOpts
return stopCmd(&stopCommand)
},
- Example: "CONTAINER-NAME [CONTAINER-NAME ...]",
+ Example: `podman stop ctrID
+ podman stop --latest
+ podman stop --timeout 2 mywebserver 6e534f14da9d`,
}
)