summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Sweeney <tsweeney@redhat.com>2022-08-12 09:27:56 +0900
committerToshiki Sonoda <sonoda.toshiki@fujitsu.com>2022-08-12 09:50:47 +0900
commitbc56ee158fe34e05b4dc3b69ee1bf8a3f0a9e615 (patch)
treed874a1a298bd492ead2cc8ee649dac8af4a97561
parent0dbbb1cb3f6ed2983105620bc49191e3b0436f37 (diff)
downloadpodman-bc56ee158fe34e05b4dc3b69ee1bf8a3f0a9e615.tar.gz
podman-bc56ee158fe34e05b4dc3b69ee1bf8a3f0a9e615.tar.bz2
podman-bc56ee158fe34e05b4dc3b69ee1bf8a3f0a9e615.zip
Update cmd/podman/containers/restart.go
Co-authored-by: Tom Sweeney <tsweeney@redhat.com> Signed-off-by: Toshiki Sonoda <sonoda.toshiki@fujitsu.com>
-rw-r--r--cmd/podman/containers/restart.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/containers/restart.go b/cmd/podman/containers/restart.go
index 32c1f6c47..4e0e96411 100644
--- a/cmd/podman/containers/restart.go
+++ b/cmd/podman/containers/restart.go
@@ -59,7 +59,7 @@ func restartFlags(cmd *cobra.Command) {
flags := cmd.Flags()
flags.BoolVarP(&restartOpts.All, "all", "a", false, "Restart all non-running containers")
- flags.BoolVar(&restartOpts.Running, "running", false, "Restart only running containers when --all is used")
+ flags.BoolVar(&restartOpts.Running, "running", false, "Restart only running containers")
cidfileFlagName := "cidfile"
flags.StringArrayVar(&restartCidFiles, cidfileFlagName, nil, "Read the container ID from the file")