Use builtin whatis -p instead of command -v.