code: def pytest_addoption(parser):
      group = parser.getgroup("debugconfig")
      group.addoption(
          "--version",
          action="store_true",
          help="display pytest lib version and import information.",
      )
      group._addoption(
          "-h",
          "--help",
          action=HelpAction,
          dest="help",
          help="show help message and configuration info",
      )
      group._addoption(
          "-p",
          action="append",
          dest="plugins",
          default=[],
          metavar="name",
          help="early-load given plugin module name or entry point (multi-allowed). "
          "To avoid loading of plugins, use the `no:` prefix, e.g. "
          "`no:doctest`.",
      )
      group.addoption(
          "--traceconfig",
          "--trace-config",
          action="store_true",
          default=False,
          help="trace considerations of conftest.py files.",
      ),
      group.addoption(
          "--debug",
          action="store_true",
          dest="debug",
          default=False,
          help="store internal tracing debug information in 'pytestdebug.log'.",
      )
      group._addoption(
          "-o",
          "--override-ini",
          dest="override_ini",
          action="append",
          help='override ini option with "option=value" style, e.g. `-o xfail_strict=True -o cache_dir=cache`.',
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import sys
  from argparse import Action
  import py
  import pytest
  from _pytest.config import PrintHelp
label_desc: Use image node_id 1 for calling a global function with example usage: pytest_addoption(parser) without return types