From 7e922b103595fe64938a910fd4cd862685624391 Mon Sep 17 00:00:00 2001 From: baude Date: Wed, 27 Dec 2017 11:36:08 -0600 Subject: Exec: No arg reorder Do not re-order the args for exec. Like run, it is very possible that a user will pass a -something in their command and this currently does not work. Signed-off-by: baude Closes: #168 Approved by: baude --- cmd/podman/exec.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/cmd/podman/exec.go b/cmd/podman/exec.go index 0b3b9504d..7a0bab617 100644 --- a/cmd/podman/exec.go +++ b/cmd/podman/exec.go @@ -35,12 +35,13 @@ var ( ` execCommand = cli.Command{ - Name: "exec", - Usage: "Run a process in a running container", - Description: execDescription, - Flags: execFlags, - Action: execCmd, - ArgsUsage: "CONTAINER-NAME", + Name: "exec", + Usage: "Run a process in a running container", + Description: execDescription, + Flags: execFlags, + Action: execCmd, + ArgsUsage: "CONTAINER-NAME", + SkipArgReorder: true, } ) -- cgit v1.2.3-54-g00ecf