to_int
if (to_int(optarg, &refresh_interval) != 0 ||
if (to_int(optarg, &klog_level) != 0 ||
if (to_int(optarg, &log_interval) != 0 ||
if (to_int(select_str, &select_value) != 0) {