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 <bbaude@redhat.com>

Closes: #168
Approved by: baude
This commit is contained in:
baude
2017-12-27 11:36:08 -06:00
committed by Atomic Bot
parent ea5620182f
commit 7e922b1035

View File

@ -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,
}
)