code: def main():
      if (
          len(sys.argv) < 2
          or sys.argv[1] == "-h"
          or sys.argv[1] == "--help"
      ):
          print_help()
          exit(0)
      test_path = sys.argv[1]
      if len(sys.argv) < 3:
          xml_prefix = "tests"
      else:
          xml_prefix = sys.argv[2]
  
      exit_code = process_directory(test_path, xml_prefix)
  
      if exit_code != 0:
          exit(1)
  
imports: import os
  import sys
  from setup_reporter import try_execfile
label_desc: Use image node_id 3 for calling a global function with example usage: main() without return types