summaryrefslogtreecommitdiff
path: root/cmd/podman/restart.go
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2019-02-18 15:00:07 -0500
committerTomSweeneyRedHat <tsweeney@redhat.com>2019-02-18 15:18:42 -0500
commit64853710e87ba124561653cb5d62ca3a653b4170 (patch)
treee9c2ae68cc8a3a2c8dd318abcfb72dba55a2108c /cmd/podman/restart.go
parente738ef16225395f5f5e4b93ba1a43ae9449ae11b (diff)
downloadpodman-64853710e87ba124561653cb5d62ca3a653b4170.tar.gz
podman-64853710e87ba124561653cb5d62ca3a653b4170.tar.bz2
podman-64853710e87ba124561653cb5d62ca3a653b4170.zip
Add 4th chunk of Cobra Examples
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> Adds the 4th chunk of Cobra Examples to the CLI help. One more chunk of 10 to complete. Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
Diffstat (limited to 'cmd/podman/restart.go')
-rw-r--r--cmd/podman/restart.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/restart.go b/cmd/podman/restart.go
index 235107b5c..97b689c02 100644
--- a/cmd/podman/restart.go
+++ b/cmd/podman/restart.go
@@ -26,7 +26,9 @@ var (
restartCommand.GlobalFlags = MainGlobalOpts
return restartCmd(&restartCommand)
},
- Example: "CONTAINER [CONTAINER ...]",
+ Example: `podman restart ctrID
+ podman restart --latest
+ podman restart ctrID1 ctrID2`,
}
)