code: def __get_global_options(cmd_line_options, conf_file_options=None):
      
      options = {}
  
      for option in DEFAULT_OPTIONS['global'].keys():
          options[option] = DEFAULT_OPTIONS['global'][option]
  
          if conf_file_options and option in conf_file_options:
              options[option] = conf_file_options[option]
  
          if cmd_line_options and option in cmd_line_options:
              options[option] = cmd_line_options[option]
  
      return options
docs: Get all global options
  
      :type cmd_line_options: dict
      :param cmd_line_options: Dictionary with all command line options
      :type conf_file_options: dict
      :param conf_file_options: Dictionary with all config file options
      :returns: dict