--config: Missing non-optional argument!

Hi all,
When I use the following line of code to register the structure of an individual to the MNI space, I get this error: config: Missing non-optional argument! Does anyone know what’s going on?
fnirt --in=T1w.nii --aff=T1w_brain_reg.mat --cout=T1w2MNI_warp.nii.gz --config T1_2_MNI152_2mm
Best wishes!
Wang

Hi @OWL, you need an equals sign between --config and T1_2_MNI152_2mm, i.e.:

fnirt --in=T1w.nii --aff=T1w_brain_reg.mat --cout=T1w2MNI_warp.nii.gz --config=T1_2_MNI152_2mm