def get_option_scope_help_info(self, option_registrations_iter):
    basic_options = []
    recursive_options = []
    advanced_options = []
    # Sort the arguments, so we display the help in alphabetical order.
    for args, kwargs in sorted(option_registrations_iter):
      ohi = self.get_option_help_info(args, kwargs)
      if kwargs.get('advanced'):
        advanced_options.append(ohi)
      elif kwargs.get('recursive') and not kwargs.get('recursive_root'):
        recursive_options.append(ohi)
      else:
        basic_options.append(ohi)

    return OptionScopeHelpInfo(scope=self._scope,
                               basic=basic_options,
                               recursive=recursive_options,
                               advanced=advanced_options)
Returns an OptionScopeHelpInfo for the options registered with the (args, kwargs) pairs.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/help/help_info_extracter.py/HelpInfoExtracter.get_option_scope_help_info