X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=blobdiff_plain;f=mon%2Fmon_common.c;h=a237b5d27c24f744027fe30347deca3c8f7c0d43;hp=b03afdabc6390eaa9c2a4ed9c7f19936601d3250;hb=86f808dde0595769d045eb82ef414174953ab67e;hpb=bafa2aa21b1f3be752e473d453e5043e64f26237 diff --git a/mon/mon_common.c b/mon/mon_common.c index b03afda..a237b5d 100644 --- a/mon/mon_common.c +++ b/mon/mon_common.c @@ -87,8 +87,8 @@ const char *mon_opt_type_to_string(MON_OPT_TYPE opt_type) case OPT_TYPE_SHOW_VERSION: return "version"; - case OPT_TYPE_SHOW_SERIAL: - return "serial"; + case OPT_TYPE_SHOW_CONFIG_FILES: + return "config_files"; case OPT_TYPE_SHOW_UPTIME: return "uptime"; @@ -130,7 +130,7 @@ const char *mon_opt_type_to_string(MON_OPT_TYPE opt_type) MON_OPT_TYPE mon_opt_type_from_string(const char *s) { return_if_matches(s, OPT_TYPE_SHOW_VERSION); - return_if_matches(s, OPT_TYPE_SHOW_SERIAL); + return_if_matches(s, OPT_TYPE_SHOW_CONFIG_FILES); return_if_matches(s, OPT_TYPE_SHOW_UPTIME); return_if_matches(s, OPT_TYPE_SHOW_TID_REQ_COUNT); return_if_matches(s, OPT_TYPE_SHOW_TID_REQ_ERR_COUNT);