I’m guessing you copy/pasted the command from somewhere else? If you look closely at that -mask, you’ll note that it’s a long dash –, rather than the regular hyphen -. They’re different characters, so the command doesn’t recognise your –mask as an option… You just need to delete that dash and replace with the normal hyphen.