code: def pytest_cmdline_main(config):
      if config.option.version:
          showversion(config)
          return 0
      elif config.option.help:
          config._do_configure()
          showhelp(config)
          config._ensure_unconfigure()
          return 0
  
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 4 for calling a global function with example usage: pytest_cmdline_main(config) and returns: int, int