Skip to content

Commit

Permalink
[chore] update readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
peanut996 committed Dec 19, 2023
1 parent 9ed85bc commit 0ca8b1e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,15 @@ CloudflareWarpSpeedTest -n 200 -t 10 -tl 300 -q -tll 0 -tlr 0.2 -sl 5 -p 10 -f i

以下是主要可用选项的解释:

+ `-n` 200:指定延迟测试线程的数量。增加此值可以加快延迟测试过程,但不适合性能较低的设备,如路由器。默认值为 200,最大为 1000。
+ `-t` 10:设置对每个 IP 地址执行延迟测试的次数。默认值为 10 次。
+ `-q` 快速模式:快速扫描1000个地址结果。**默认打开**, 使用`-q=false` 关闭快速模式。
+ `-ipv6` ipv6模式:仅扫描ipv6地址。
+ `-o` result.csv:设置输出结果文件。默认文件为 "result.csv"。
+ `-full` 此标志表示应测试指定范围内的所有端口。
+ `-pri` 自定义wireguard的私钥。
+ `-pub` 自定义wireguard的公钥。默认为Warp的公钥
+ `-n` 200:指定延迟测试线程的数量。增加此值可以加快延迟测试过程,但不适合性能较低的设备,如路由器。默认值为 200,最大为 1000。
+ `-t` 10:设置对每个 IP 地址执行延迟测试的次数。默认值为 10 次。
+ `-q` 快速模式:快速扫描1000个地址结果。**默认打开**, 使用`-q=false` 关闭快速模式。
+ `-ipv6` ipv6模式:仅扫描ipv6地址。
+ `-o` result.csv:设置输出结果文件。默认文件为 "result.csv"。
+ `-full` 此标志表示应测试指定范围内的所有端口。
+ `-pri` 自定义wireguard的私钥。
+ `-pub` 自定义wireguard的公钥。默认为WARP的公钥。
+ `-reserved` 自定义Reserved字段。格式为`[0, 0, 0]`

更多使用说明请使用`-h`

Expand Down
17 changes: 9 additions & 8 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@ CloudflareWarpSpeedTest -n 200 -t 10 -tl 300 -q -tll 0 -tlr 0.2 -sl 5 -p 10 -f i

Here is an explanation of the main available options:

+ `-n` 200: Specifies the number of latency test threads. Increasing this value can speed up the latency testing process, but it may not be suitable for lower-performance devices like routers. The default value is 200, with a maximum of 1000.
+ `-t` 10: Sets the number of times latency tests are performed for each IP address. The default value is 10 times.
+ `-q` Quick mode: Quickly scan results for 1000 addresses. **Default is on**, use `-q=false` to turn off quick mode.
+ `-ipv6` IPv6 mode. Only scan ipv6 addresses.
+ `-o` result.csv: Sets the output result file. The default file is \"result.csv\".
+ `-full` This flag indicates that all ports within the specified range should be tested.
+ `-pri` Custom Wireguard private key.
+ `-pub` Custom Wireguard public key. Default is the Warp public key.
+ `-n` 200: Specifies the number of latency test threads. Increasing this value can speed up the latency testing process, but it may not be suitable for lower-performance devices like routers. The default value is 200, with a maximum of 1000.
+ `-t` 10: Sets the number of times latency tests are performed for each IP address. The default value is 10 times.
+ `-q` Quick mode: Quickly scan results for 1000 addresses. **Default is on**, use `-q=false` to turn off quick mode.
+ `-ipv6` IPv6 mode. Only scan ipv6 addresses.
+ `-o` result.csv: Sets the output result file. The default file is \"result.csv\".
+ `-full` This flag indicates that all ports within the specified range should be tested.
+ `-pri` Custom Wireguard private key.
+ `-pub` Custom Wireguard public key. Default is the Warp public key.
+ `-reserved` Custom Reserved. Format: `[0, 0, 0]`

For more usage instructions, please use `-h`.

Expand Down

0 comments on commit 0ca8b1e

Please sign in to comment.