summaryrefslogtreecommitdiff
path: root/cmd/podman/pod_ps.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-02-21 17:09:59 -0600
committerbaude <bbaude@redhat.com>2019-02-22 14:13:08 -0600
commit6ab6e2c3073d47755d441ee8c1bce90e34082e99 (patch)
tree38b123449c3b4270acec7f680b688ddb2c502204 /cmd/podman/pod_ps.go
parent328250e7bef56b0b69dbea124c1170abd289900f (diff)
downloadpodman-6ab6e2c3073d47755d441ee8c1bce90e34082e99.tar.gz
podman-6ab6e2c3073d47755d441ee8c1bce90e34082e99.tar.bz2
podman-6ab6e2c3073d47755d441ee8c1bce90e34082e99.zip
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 <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/pod_ps.go')
-rw-r--r--cmd/podman/pod_ps.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/pod_ps.go b/cmd/podman/pod_ps.go
index 49af91a1e..85467b6ad 100644
--- a/cmd/podman/pod_ps.go
+++ b/cmd/podman/pod_ps.go
@@ -144,7 +144,7 @@ func init() {
flags.BoolVar(&podPsCommand.NoTrunc, "no-trunc", false, "Do not truncate pod and container IDs")
flags.BoolVarP(&podPsCommand.Quiet, "quiet", "q", false, "Print the numeric IDs of the pods only")
flags.StringVar(&podPsCommand.Sort, "sort", "created", "Sort output by created, id, name, or number")
-
+ markFlagHiddenForRemoteClient("latest", flags)
}
func podPsCmd(c *cliconfig.PodPsValues) error {