diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-04-21 08:22:05 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-04-21 16:02:11 -0400 |
commit | 592e7867a3fc2fa370f7f24125285e81fb0c6d1a (patch) | |
tree | ea306a2c931c898366039d4181f208c89c361dfc /cmd/podman/common/create.go | |
parent | 9d7b5947b9ff661433c4bedc018f5368830abbe6 (diff) | |
download | podman-592e7867a3fc2fa370f7f24125285e81fb0c6d1a.tar.gz podman-592e7867a3fc2fa370f7f24125285e81fb0c6d1a.tar.bz2 podman-592e7867a3fc2fa370f7f24125285e81fb0c6d1a.zip |
Add support for devices from command line
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/common/create.go')
-rw-r--r-- | cmd/podman/common/create.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/common/create.go b/cmd/podman/common/create.go index f4c7059d1..bdf762ed7 100644 --- a/cmd/podman/common/create.go +++ b/cmd/podman/common/create.go @@ -125,7 +125,7 @@ func GetCreateFlags(cf *ContainerCLIOpts) *pflag.FlagSet { "Override the key sequence for detaching a container. Format is a single character `[a-Z]` or a comma separated sequence of `ctrl-<value>`, where `<value>` is one of: `a-cf`, `@`, `^`, `[`, `\\`, `]`, `^` or `_`", ) createFlags.StringSliceVar( - &cf.Device, + &cf.Devices, "device", containerConfig.Devices(), fmt.Sprintf("Add a host device to the container"), ) |