Fix typos in argument names

Simple fix
Merge pull request #3145 from mjul/master

Fix typos in argument names