lib/help.js
function getHelpTopic(topic) {

  let filename = getFilename(topic);
  if (!fs.existsSync(filename)) {
    filename = getFilename('help');
  }

  return fs.readFileSync(filename).toString();
}
function getHelpTopic(topic) {

  let filename = getFilename(topic);
  if (!fs.existsSync(filename)) {
    filename = getFilename('help');
  }

  return fs.readFileSync(filename).toString();
}
function getHelpTopic ( topic ) { let filename = getFilename ( topic ) ; if ( ! fs . existsSync ( filename ) ) { filename = getFilename ( 'help' ) ; } return fs . readFileSync ( filename ) . toString ( ) ; }
Returns the corresponding help text for a given topic.
Returns the corresponding help text for a given topic .