parameters: ()
return_statement: return args
docstring: Parses command-line options.
docstring_summary: Parses command-line options.
docstring_tokens: Parses command - line options .
function: def parse_arguments():
    """Parses command-line options."""
  
    def check_file_path(path):
      if os.path.isfile(path):
        return path
      else:
        raise ValueError(path)
  
    parser = argparse.ArgumentParser()
    parser.add_argument("--base",
                        type=check_file_path,
                        required=True,
                        help="Base benchmark results")
    parser.add_argument("--target",
                        type=check_file_path,
                        required=True,
                        help="Target benchmark results")
    parser.add_argument("--verbose",
                        action="store_true",
                        help="Print internal information during execution")
    args = parser.parse_args()
  
    return args
function_tokens: def parse_arguments ( ) : def check_file_path ( path ) : if os . path . isfile ( path ) : return path else : raise ValueError ( path ) parser = argparse . ArgumentParser ( ) parser . add_argument ( "--base" , type = check_file_path , required = True , help = "Base benchmark results" ) parser . add_argument ( "--target" , type = check_file_path , required = True , help = "Target benchmark results" ) parser . add_argument ( "--verbose" , action = "store_true" , help = "Print internal information during execution" ) args = parser . parse_args ( ) return args