static MON_REQ *show_all_options()
{
MON_OPT_TYPE opts[] = {
- OPT_TYPE_SHOW_SERIAL,
+ OPT_TYPE_SHOW_CONFIG_FILES,
OPT_TYPE_SHOW_VERSION,
OPT_TYPE_SHOW_UPTIME,
OPT_TYPE_SHOW_TID_REQ_COUNT,
req_json_str = read_file(filename);
assert(req_json_str);
- req = mon_req_decode(NULL, req_json_str);
+ req = mon_req_parse(NULL, req_json_str);
assert(req);
assert(equal(req, expected));