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) }