diff options
author | Ed Santiago <santiago@redhat.com> | 2019-02-27 14:08:58 -0700 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2019-02-27 14:08:58 -0700 |
commit | 5c08ff58d784bf04d60a102e83a6fb8f7a45567d (patch) | |
tree | b2d6994dddbfac2368f106748e2f02f385d8400e /cmd | |
parent | f1f26f444228381224581609a327f13158740923 (diff) | |
download | podman-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')
-rw-r--r-- | cmd/podman/create.go | 2 |
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) } |