summaryrefslogtreecommitdiff
path: root/cmd/podman/attach.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/attach.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/attach.go')
-rw-r--r--cmd/podman/attach.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/attach.go b/cmd/podman/attach.go
index b70ff649c..074675e45 100644
--- a/cmd/podman/attach.go
+++ b/cmd/podman/attach.go
@@ -35,8 +35,8 @@ func init() {
flags.StringVar(&attachCommand.DetachKeys, "detach-keys", "", "Override the key sequence for detaching a container. Format is a single character [a-Z] or ctrl-<value> where <value> is one of: a-z, @, ^, [, , or _")
flags.BoolVar(&attachCommand.NoStdin, "no-stdin", false, "Do not attach STDIN. The default is false")
flags.BoolVar(&attachCommand.SigProxy, "sig-proxy", true, "Proxy received signals to the process (default true)")
-
flags.BoolVarP(&attachCommand.Latest, "latest", "l", false, "Act on the latest container podman is aware of")
+ markFlagHiddenForRemoteClient("latest", flags)
}
func attachCmd(c *cliconfig.AttachValues) error {