fix help msg of kcp

This commit is contained in:
sijie.sun
2025-02-06 16:19:57 +08:00
committed by Sijie.Sun
parent e833c2a28b
commit eca1231831
2 changed files with 2 additions and 2 deletions

View File

@@ -143,7 +143,7 @@ core_clap:
enable_kcp_proxy:
en: "proxy tcp streams with kcp, improving the latency and throughput on the network with udp packet loss."
zh-CN: "使用 KCP 代理 TCP 流,提高在 UDP 丢包网络上的延迟和吞吐量。"
disable-kcp-input:
disable_kcp_input:
en: "do not allow other nodes to use kcp to proxy tcp streams to this node. when a node with kcp proxy enabled accesses this node, the original tcp connection is preserved."
zh-CN: "不允许其他节点使用 KCP 代理 TCP 流到此节点。开启 KCP 代理的节点访问此节点时,依然使用原始 TCP 连接。"

View File

@@ -323,7 +323,7 @@ struct Cli {
#[arg(
long,
help = t!("core_clap.enable_kcp_proxy").to_string(),
help = t!("core_clap.disable_kcp_input").to_string(),
default_value = "false"
)]
disable_kcp_input: bool,