class_docstr: Parser for command line arguments and ini-file values.
  
  :ivar extra_info: dict of generic param -> value to display in case
      there's an error processing the command line arguments.
docstr: 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>`.
docstr_tok: ["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",">","`","."]
code: def addini(self, name, help, type=None, default=None):
      """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>`.
      """
      assert type in (None, "pathlist", "args", "linelist", "bool")
      self._inidict[name] = (help, type, default)
      self._ininames.append(name)
  
imports: import argparse
  import warnings
  import py
  import six
  from _pytest.config.exceptions import UsageError
label_desc: Use image node_id 10 for calling the Parser obj's underlying member method code with example usage: obj.addini(name, help, type, default) without return types