mirror of
https://github.com/containers/podman.git
synced 2025-06-23 10:38:20 +08:00
Update cmd/podman/containers/restart.go
Co-authored-by: Tom Sweeney <tsweeney@redhat.com> Signed-off-by: Toshiki Sonoda <sonoda.toshiki@fujitsu.com>
This commit is contained in:

committed by
Toshiki Sonoda

parent
0dbbb1cb3f
commit
bc56ee158f
@ -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")
|
||||
|
Reference in New Issue
Block a user