original_docstring: Parses the options and initializes the front-end.
  
      Args:
        options: the command line arguments (instance of argparse.Namespace).
        source_option: optional name of the source option. The default is source.
  
      Raises:
        BadConfigOption: if the options are invalid.
      
docstring: Parses the options and initializes the front-end.
docstring_tokens: Parses the options and initializes the front - end .
code: def ParseOptions(self, options, source_option='source'):
      """Parses the options and initializes the front-end.
  
      Args:
        options: the command line arguments (instance of argparse.Namespace).
        source_option: optional name of the source option. The default is source.
  
      Raises:
        BadConfigOption: if the options are invalid.
      """
      if not options:
        raise errors.BadConfigOption(u'Missing options.')
  
      self._source_path = getattr(options, source_option, None)
      if not self._source_path:
        raise errors.BadConfigOption(u'Missing source path.')
  
      try:
        self._source_path = unicode(self._source_path)
      except UnicodeDecodeError as exception:
        raise errors.BadConfigOption(
            u'Unable to convert source path to Unicode with error: {0:s}.'.format(
                exception))
  
      self._source_path = os.path.abspath(self._source_path)
code_tokens: def ParseOptions ( self , options , source_option = 'source' ) : if not options : raise errors . BadConfigOption ( u'Missing options.' ) self . _source_path = getattr ( options , source_option , None ) if not self . _source_path : raise errors . BadConfigOption ( u'Missing source path.' ) try : self . _source_path = unicode ( self . _source_path ) except UnicodeDecodeError as exception : raise errors . BadConfigOption ( u'Unable to convert source path to Unicode with error: {0:s}.' . format ( exception ) ) self . _source_path = os . path . abspath ( self . _source_path )
short_docstring: Parses the options and initializes the front-end.
short_docstring_tokens: Parses the options and initializes the front - end .
comment: """Parses the options and initializes the front-end.
  
      Args:
        options: the command line arguments (instance of argparse.Namespace).
        source_option: optional name of the source option. The default is source.
  
      Raises:
        BadConfigOption: if the options are invalid.
      """