code: def help(file=None):
      
      helpstr = getHelpAsString(docstring=True, show_ver = True)
      if file is None:
          print(helpstr)
      else:
          if os.path.exists(file): os.remove(file)
          f = open(file, mode = 'w')
          f.write(helpstr)
          f.close()
docs: Print out syntax help for running astrodrizzle
  
      Parameters
      ----------
      file : str (Default = None)
          If given, write out help to the filename specified by this parameter
          Any previously existing file with this name will be deleted before
          writing out the help.