Documentation fix: use \p to reference a parameter

The orginal @param is meant to describe a parameter, resulting in a
strange doc output.
Merge pull request #3266 from timothyqiu/docfix

Documentation fix: use \p to reference a parameter