code: def getHelpAsString(docstring=False, show_ver=True):
      
      install_dir = os.path.dirname(__file__)
      taskname = util.base_taskname(__taskname__, __package__)
      htmlfile = os.path.join(install_dir, 'htmlhelp', taskname + '.html')
      helpfile = os.path.join(install_dir, taskname + '.help')
  
      if docstring or (not docstring and not os.path.exists(htmlfile)):
          if show_ver:
              helpString = "\n{:s} Version {:s} updated on {:s}\n\n".format(
                  __taskname__, __version__, __version_date__
              )
          else:
              helpString = ''
  
          if os.path.exists(helpfile):
              helpString += teal.getHelpFileAsString(taskname, __file__)
          elif __doc__ is not None:
                  helpString += __doc__ + os.linesep
  
      else:
          helpString = 'file://' + htmlfile
  
      return helpString
docs: Return useful help from a file in the script directory called
      ``__taskname__.help``