core/help: Get rid of unneeded 'invalid' variable
core/help: Conform to tethys coding style (KNF-like)
core/help: Refactor find_help()