If foo has a Texinfo manual (GNU tools like bash usually do) then you can try `info foo` and search the index with i or I for -p. Texinfo manuals also have hyperlinks you can press enter on.
info is a greatly underused system and I'd recommend any *nix users to spend some time learning how to navigate it.