Several ports use identical code for the 1-argument form of the builtin help function. Move this code to a library function to allow easier re-use by ports.