old_contents: from harvester import Harvester
  from cli_helper import is_writable_directory
  
  import argparse
  import logging
  import json
  
  logger = logging.getLogger(__name__)
  logger.setLevel(logging.INFO)
  formatter = logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s")
  logging.basicConfig(format="%(asctime)s-%(levelname)s-%(name)s - %(message)s")
  
  parser = argparse.ArgumentParser(description="Export all publicly available Gazetteer data as one JSON file.")
  parser.add_argument('-t', '--target', type=is_writable_directory, nargs='?', default="./gazetteer_export.json",
                      help="Specificy output file.")
  parser.add_argument('-p', '--polygons', action='store_true',
                      help="Return place shape polygons, polygon data will increase export size significantly.")
  
  if __name__ == "__main__":
      options = vars(parser.parse_args())
  
      harvester = Harvester(options['polygons'])
  
      places = harvester.get_data()
  
      with open(options['target'], 'w') as outfile:
          json.dump(places, outfile)
  
new_contents: from harvester import Harvester
  from cli_helper import is_writable_directory
  
  import argparse
  import logging
  import json
  
  logger = logging.getLogger(__name__)
  logger.setLevel(logging.INFO)
  formatter = logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s")
  logging.basicConfig(format="%(asctime)s-%(levelname)s-%(name)s - %(message)s")
  
  parser = argparse.ArgumentParser(description="Export all publicly available Gazetteer data as one JSON file.")
  parser.add_argument('-t', '--target', type=is_writable_directory, nargs='?', default="./gazetteer_export.json",
                      help="Specify output file.")
  parser.add_argument('-p', '--polygons', action='store_true',
                      help="Return place shape polygons, polygon data will increase export size significantly.")
  
  if __name__ == "__main__":
      options = vars(parser.parse_args())
  
      harvester = Harvester(options['polygons'])
  
      places = harvester.get_data()
  
      with open(options['target'], 'w') as outfile:
          json.dump(places, outfile)
  
subject: Fix typo