code: def tool_options_from_global(global_options, num_jobs):
      
      internal_opt = ["whitelist", "blacklist", "fix_what_you_can"]
      queue_object = _obtain_queue(num_jobs)
      translate = defaultdict(lambda: (lambda x: x),
                              log_technical_terms_to=lambda _: queue_object)
  
      tool_options = OrderedDict()
  
      for key in sorted(global_options.keys()):
          if key not in internal_opt and global_options[key] is not None:
              tool_options[key] = translate[key](global_options[key])
  
      return tool_options
docs: From an argparse namespace, get a dict of options for the tools.