Kubeadm init --cri-socket option not working while passing it along with --config option

Trying to create a new cluster on a VM where I have two CRIs docker and CRI-O but kubeadm init --cri-socket option is not working if I am passing it along with --config option.

It works fine without --config but then I have to give all options on kubeadm commandline and cannot use the config file.

Command: kubeadm init --config kubeadm-config.yaml --cri-socket /var/run/crio/crio.sock

Error: Found multiple CRI sockets, please use --cri-socket to select one: /var/run/dockershim.sock, /var/run/crio/crio.sock
To see the stack trace of this error execute with --v=5 or higher

Cluster information:

Kubernetes version:1.18
Cloud being used: (put bare-metal if not on a public cloud)
Installation method:kubeadm
Host OS: CentOS 7.7
CNI and version:
CRI and version: 1.18

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.