–Mask not working in John the Ripper

I have install John the Ripper on MacOS, and everything works except the option and flag -mask. Error Message (Unknown option: “–mask”) This is strange because I know –mask is a legal option in the John the Ripper program. I was wondering how to fix this.