def addOption(self, name, value):
if name not in PyOptionList:<EOL><INDENT>return False<EOL><DEDENT>if PyOptionList[name]['<STR_LIT:type>'] == "<STR_LIT>":<EOL><INDENT>return self.addOptionString(name, value)<EOL><DEDENT>elif PyOptionList[name]['<STR_LIT:type>'] == "<STR_LIT>":<EOL><INDENT>return self.addOptionBool(name, value)<EOL><DEDENT>elif PyOptionList[name]['<STR_LIT:type>'] == "<STR_LIT>":<EOL><INDENT>return self.addOptionInt(name, value)<EOL><DEDENT>return False<EOL>
.. _addOption:

Add an option.

:param name: The name of the option.
:type name: string
:param value: The value of the option.
:type value: boolean, integer, string
:return: The result of the operation.
:rtype: bool

:see: addOptionBool_, addOptionInt_, addOptionString_