提交 25998a7d 编写于 作者: H Hui Li

[TD-1076]

上级 012c2730
......@@ -66,9 +66,9 @@ static error_t parse_opt(int key, char *arg, struct argp_state *state) {
case 'l':
arguments->pktLen = atoi(arg);
break;
default:
printf("unknow parameter!\n");
break;
return ARGP_ERR_UNKNOWN;
}
return 0;
}
......
......@@ -66,8 +66,9 @@ static error_t parse_opt(int key, char *arg, struct argp_state *state) {
case 'l':
arguments->pktLen = atoi(arg);
break;
default:
break;
return ARGP_ERR_UNKNOWN;
}
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册