code: def _warn_unsafe_options(cls, args):
          '''Print warnings about any enabled hazardous options.
  
          This function will print messages complaining about:
  
          * ``--save-headers``
          * ``--no-iri``
          * ``--output-document``
          * ``--ignore-fatal-errors``
          '''
          enabled_options = []
  
          for option_name in cls.UNSAFE_OPTIONS:
              if getattr(args, option_name):
                  enabled_options.append(option_name)
  
          if enabled_options:
              _logger.warning(__(
                  _('The following unsafe options are enabled: {list}.'),
                  list=enabled_options
              ))
              _logger.warning(
                  _('The use of unsafe options may lead to unexpected behavior '
                    'or file corruption.'))
  
          if not args.retr_symlinks:
              _logger.warning(
                  _('The --retr-symlinks=off option is a security risk.')
              f _warn_unsafe_options(cls, args):
          '''Print warnings about any enabled hazardous options.
  
          This function will print messages complaining about:
  
          * ``--save-headers``
          * ``--no-iri``
          * ``--output-document``
          * ``--ignore-fatal-errors``
          '''
          enabled_options = []
  
          for option_name in cls.UNSAFE_OPTIONS:
              if getattr(args, option_name):
                  enabled_options.append(option_name)
  
          if enabled_options:
              _logger.warning(__(
                  _('The following unsafe options are enabled: {list}.'),
                  list=enabled_options
              ))
              _logger.warning(
                  _('The use of unsafe options may lead to unexpected behavior '
                    'or file corruption.'))
  
          if not args.retr_symlinks:
              _logger.warning(
                  _('The --retr-symlinks=off option is a security risk.')
              )
docs: Print warnings about any enabled hazardous options.
  
          This function will print messages complaining about:
  
          * ``--save-headers``
          * ``--no-iri``
          * ``--output-document``
          * ``--ignore-fatal-errors``