'register an ini-file option.
:name: name of the ini-variable
:type: type of the variable, can be ``pathlist``, ``args``, ``linelist``
or ``bool``.
:default: default value if no ini-file option exists but is queried.
The value of ini-variables can be retrieved via a call to
:py:func:`config.getini(name) <_pytest.config.Config.getini>`.'

def addini(self, name, help, type=None, default=None):

    assert (type in (None, 'pathlist', 'args', 'linelist', 'bool'))
    self._inidict[name] = (help, type, default)
    self._ininames.append(name)
