def __init__(self, options, arguments):
        """
        :param options: list of options
        :param arguments: list of arguments
        """
        self.given_arguments = {}
        self.options = {}
        for a in options:
            self.options[a.name] = a
            self.given_arguments[normalize_arg_name(a.name)] = a.default
            for alias in a.aliases:
                self.options[alias] = a
        for o in arguments:
            self.given_arguments[normalize_arg_name(o.name)] = o.default
        self.arguments = arguments
        logger.info("arguments = %s", arguments)
        logger.info("options = %s", options)
def __init__ ( self , options , arguments ) : self . given_arguments = { } self . options = { } for a in options : self . options [ a . name ] = a self . given_arguments [ normalize_arg_name ( a . name ) ] = a . default for alias in a . aliases : self . options [ alias ] = a for o in arguments : self . given_arguments [ normalize_arg_name ( o . name ) ] = o . default self . arguments = arguments logger . info ( "arguments = %s" , arguments ) logger . info ( "options = %s" , options )
:param options: list of options
        :param arguments: list of arguments