From ab72130650c7a43421f35b754d51632e3df70966 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Mon, 11 Jun 2018 15:51:38 -0400 Subject: Aliases do not work with IsSet Have to specify all names. Signed-off-by: Daniel J Walsh Closes: #933 Approved by: baude --- cmd/podman/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/podman/run.go') diff --git a/cmd/podman/run.go b/cmd/podman/run.go index d6755df5e..3e7dc2303 100644 --- a/cmd/podman/run.go +++ b/cmd/podman/run.go @@ -173,7 +173,7 @@ func runCmd(c *cli.Context) error { } // If attach is set, clear stdin/stdout/stderr and only attach requested - if c.IsSet("attach") { + if c.IsSet("attach") || c.IsSet("a") { outputStream = nil errorStream = nil inputStream = nil -- cgit v1.2.3-54-g00ecf