summaryrefslogtreecommitdiff
path: root/cmd/podman/pod_restart.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/pod_restart.go')
-rw-r--r--cmd/podman/pod_restart.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/pod_restart.go b/cmd/podman/pod_restart.go
index fe24f26ba..be54630db 100644
--- a/cmd/podman/pod_restart.go
+++ b/cmd/podman/pod_restart.go
@@ -38,6 +38,7 @@ func init() {
flags.BoolVarP(&podRestartCommand.All, "all", "a", false, "Restart all running pods")
flags.BoolVarP(&podRestartCommand.Latest, "latest", "l", false, "Restart the latest pod podman is aware of")
+ markFlagHiddenForRemoteClient("latest", flags)
}
func podRestartCmd(c *cliconfig.PodRestartValues) error {