From 6ab6e2c3073d47755d441ee8c1bce90e34082e99 Mon Sep 17 00:00:00 2001 From: baude Date: Thu, 21 Feb 2019 17:09:59 -0600 Subject: hide --latest on the remote-client in the case of the remote-client, it was decided to hide the latest flag to avoid confusion for end-users on what the "last" container, volume, or pod are. Signed-off-by: baude --- cmd/podman/stats.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/podman/stats.go') diff --git a/cmd/podman/stats.go b/cmd/podman/stats.go index 3f5493102..2bbcd0a17 100644 --- a/cmd/podman/stats.go +++ b/cmd/podman/stats.go @@ -59,6 +59,7 @@ func init() { flags.BoolVarP(&statsCommand.Latest, "latest", "l", false, "Act on the latest container podman is aware of") flags.BoolVar(&statsCommand.NoReset, "no-reset", false, "Disable resetting the screen between intervals") flags.BoolVar(&statsCommand.NoStream, "no-stream", false, "Disable streaming stats and only pull the first result, default setting is false") + markFlagHiddenForRemoteClient("latest", flags) } func statsCmd(c *cliconfig.StatsValues) error { -- cgit v1.2.3-54-g00ecf