mirror of
https://github.com/containers/podman.git
synced 2025-06-22 01:48:54 +08:00
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>
This commit is contained in:
@ -67,7 +67,7 @@ func init() {
|
||||
|
||||
getCreateFlags(&createCommand.PodmanCommand)
|
||||
flags := createCommand.Flags()
|
||||
flags.SetInterspersed(true)
|
||||
flags.SetInterspersed(false)
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user