summaryrefslogtreecommitdiff
path: root/cmd/podman/pod_restart.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-19 19:48:05 +0100
committerGitHub <noreply@github.com>2019-02-19 19:48:05 +0100
commit82ae36c15726a4adb3242938ed2396be30bd479a (patch)
treec083d8e599ac24abb298597de8dd7c0ee41e54d8 /cmd/podman/pod_restart.go
parent10ffa3ff82ff28e7761c23cda5a5c16d83e0d0ce (diff)
parent675a202a1b560fdc08a489b37e6765a2b8cc4dd0 (diff)
downloadpodman-82ae36c15726a4adb3242938ed2396be30bd479a.tar.gz
podman-82ae36c15726a4adb3242938ed2396be30bd479a.tar.bz2
podman-82ae36c15726a4adb3242938ed2396be30bd479a.zip
Merge pull request #2363 from TomSweeneyRedHat/dev/tsweeney/cobraex5
Fifth chunk of Cobra Examples
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`,
}
)