summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2017-12-27 11:36:08 -0600
committerAtomic Bot <atomic-devel@projectatomic.io>2017-12-28 16:10:50 +0000
commit7e922b103595fe64938a910fd4cd862685624391 (patch)
treea7210e099a82064bdc475c69bd09581d323589c8 /cmd
parentea5620182f6dc1fabc33e1a8d453d070fba0952c (diff)
downloadpodman-7e922b103595fe64938a910fd4cd862685624391.tar.gz
podman-7e922b103595fe64938a910fd4cd862685624391.tar.bz2
podman-7e922b103595fe64938a910fd4cd862685624391.zip
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
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/exec.go13
1 files 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,
}
)