aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/common.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-03-20 12:45:04 +0100
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-03-20 23:22:22 +0100
commita53c768409db7cf18c20eab73a24bd193493c9ce (patch)
tree5ed2a7da8757e1a34fe9b52dcfd4b17aaccf3e8d /cmd/podman/common.go
parentc230f0c693134830b3df60a8dc37770848a6f5e2 (diff)
downloadpodman-a53c768409db7cf18c20eab73a24bd193493c9ce.tar.gz
podman-a53c768409db7cf18c20eab73a24bd193493c9ce.tar.bz2
podman-a53c768409db7cf18c20eab73a24bd193493c9ce.zip
podman: do not split --env on comma
if --env "a=b,c" is used, do not split into a=b and c=. Closes: https://github.com/containers/libpod/issues/2712 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'cmd/podman/common.go')
-rw-r--r--cmd/podman/common.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/common.go b/cmd/podman/common.go
index 43dfdb837..8b42ed673 100644
--- a/cmd/podman/common.go
+++ b/cmd/podman/common.go
@@ -264,7 +264,7 @@ func getCreateFlags(c *cliconfig.PodmanCommand) {
"entrypoint", "",
"Overwrite the default ENTRYPOINT of the image",
)
- createFlags.StringSliceP(
+ createFlags.StringArrayP(
"env", "e", []string{},
"Set environment variables in container",
)