code: def parse_args(argv=None):
      
      parser = ArgumentParser()
      parser.add_argument('--replay-file', dest="replay_file", type=str, required=True)
  
      options = parser.parse_args(argv)
      return options
docs: Parse command line options.