code: def parse_args(argv):
      global g_user
      global g_pass
      global g_start_date
  
      i = 1
      while i < len(argv):
          s = argv[i]
  
          if s == "--user":
              i += 1
              if i > len(argv):
                  usage()
              g_user = argv[i]
          elif s == "--pass":
              i += 1
              if i > len(argv):
                  usage()
              g_pass = argv[i]
          elif s == "--startdate":
              i += 1
              if i > len(argv):
                  usage()
              g_start_date = dateutil.parser.parse(argv[i])
          elif s == "-h" or s == "--h" or s == "-help" or s == "--help":
              usage()
          else:
              unknown_arg(s)
  
          i += 1
  
      if g_user is None:
          print("ERROR: user is not specified")
          usage()
  
      if g_pass is None:
          print("ERROR: pass is not specified")
          usage()
  
      if g_start_date is None:
          print("ERROR: start_date is not specified")
          usage()
  
file_path: h2o-3/scripts/recent_changes.py
imports: import sys
  import os
  import requests
  import re
  import dateutil.parser
label_desc: Use image node_id 8 for calling a global function with example usage: parse_args(argv) without return types