From 4f7977da8f8935bf1e5e901d7073e1d5a77d16df Mon Sep 17 00:00:00 2001 From: tsosunchia <59512455+tsosunchia@users.noreply.github.com> Date: Fri, 27 May 2022 10:36:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- main.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2af95e5..0a11e01 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ nexttrace -d IP.SB ## 另外:由于IP.SB被滥用比较严重,会经常出现无法查询的问题,请知悉。 ``` -`NextTrace`目前不支持自定义参数位置,请按标准格式输入命令 +`NextTrace`支持参数混合使用 ```bash Example: @@ -116,7 +116,7 @@ NextTrace 所有的的 IP 地理位置`API DEMO`可以参考[这里](https://git ```shell Usage of nexttrace: - nexttrace [options] + 'nexttrace [options] ' or 'nexttrace [option...]' Options: -T Use TCP SYN for tracerouting (default port is 80) -U Use UDP Package for tracerouting (default port is 53 in UDP) diff --git a/main.go b/main.go index ab363fb..82e46d4 100644 --- a/main.go +++ b/main.go @@ -30,7 +30,7 @@ var tablePrint = fSet.Bool("table", false, "Output trace results as table") var ver = fSet.Bool("V", false, "Check Version") func printArgHelp() { - fmt.Println("\nArgs Error\nUsage : 'nexttrace [option...] ' or 'nexttrace [option...]'") + fmt.Println("\nArgs Error\nUsage : 'nexttrace [option...] ' or 'nexttrace [option...]'\nOPTIONS: [-VTU] [-d DATAORIGIN.STR ] [ -m TTL ] [ -p PORT ] [ -q PROBES.COUNT ] [ -r PARALLELREQUESTS.COUNT ] [-rdns] [ -realtime | -table ] -report") fSet.PrintDefaults() os.Exit(2) }