未验证 提交 1251e6e0 编写于 作者: sangshuduo's avatar sangshuduo 提交者: GitHub

Hotfix/sangshuduo/td 6280 taosdump p (#8081)

* [TD-6280]<fix>: taosdump -P determine input.

* fix mistake range.
上级 7cd0e062
......@@ -485,7 +485,7 @@ static error_t parse_opt(int key, char *arg, struct argp_state *state) {
}
uint64_t port = atoi(arg);
if (port > 655325) {
if (port > 65535) {
errorWrongValue("taosdump", "-P or --port", arg);
exit(EXIT_FAILURE);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册