summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2019-02-27 14:08:58 -0700
committerEd Santiago <santiago@redhat.com>2019-02-27 14:08:58 -0700
commit5c08ff58d784bf04d60a102e83a6fb8f7a45567d (patch)
treeb2d6994dddbfac2368f106748e2f02f385d8400e /cmd/podman
parentf1f26f444228381224581609a327f13158740923 (diff)
downloadpodman-5c08ff58d784bf04d60a102e83a6fb8f7a45567d.tar.gz
podman-5c08ff58d784bf04d60a102e83a6fb8f7a45567d.tar.bz2
podman-5c08ff58d784bf04d60a102e83a6fb8f7a45567d.zip
podman create: disable interspersed opts
With the change to cobra, the following command fails: # podman create alpine sh -c /bin/true Error: unknown shorthand flag: 'c' in -c (Correct behavior is to pass '-c' to the container command) This PR corrects that. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/create.go b/cmd/podman/create.go
index 2d93c149a..696d10d8e 100644
--- a/cmd/podman/create.go
+++ b/cmd/podman/create.go
@@ -67,7 +67,7 @@ func init() {
getCreateFlags(&createCommand.PodmanCommand)
flags := createCommand.Flags()
- flags.SetInterspersed(true)
+ flags.SetInterspersed(false)
}