aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/pod_restart.go
diff options
context:
space:
mode:
authorTomSweeneyRedHat <tsweeney@redhat.com>2019-02-18 16:55:08 -0500
committerTomSweeneyRedHat <tsweeney@redhat.com>2019-02-18 19:37:09 -0500
commit675a202a1b560fdc08a489b37e6765a2b8cc4dd0 (patch)
tree90759430ee69ce79f41679daf7fea104cf014c84 /cmd/podman/pod_restart.go
parent228d1cbcd372b086669e35c1237fc5064b24ea7d (diff)
downloadpodman-675a202a1b560fdc08a489b37e6765a2b8cc4dd0.tar.gz
podman-675a202a1b560fdc08a489b37e6765a2b8cc4dd0.tar.bz2
podman-675a202a1b560fdc08a489b37e6765a2b8cc4dd0.zip
Fifth chunk of Cobra Examples
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com> The fifth and final chunk of examples for the Cobra examples in the CLI help output. Also includes a few man page touchups. Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
Diffstat (limited to 'cmd/podman/pod_restart.go')
-rw-r--r--cmd/podman/pod_restart.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/pod_restart.go b/cmd/podman/pod_restart.go
index f75d84956..2815af0c6 100644
--- a/cmd/podman/pod_restart.go
+++ b/cmd/podman/pod_restart.go
@@ -22,7 +22,9 @@ var (
podRestartCommand.GlobalFlags = MainGlobalOpts
return podRestartCmd(&podRestartCommand)
},
- Example: "POD-NAME|POD-ID [POD-NAME|POD-ID ...]",
+ Example: `podman pod restart podID1 podID2
+ podman pod restart --latest
+ podman pod restart --all`,
}
)