Skip to content

Commit

Permalink
Merge pull request #18 from tsosunchia/main
Browse files Browse the repository at this point in the history
修改部分提示
  • Loading branch information
tsosunchia committed May 27, 2022
2 parents cfc8034 + 4f7977d commit 4148d0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ nexttrace -d IP.SB
## 另外:由于IP.SB被滥用比较严重,会经常出现无法查询的问题,请知悉。
```

`NextTrace`目前不支持自定义参数位置,请按标准格式输入命令
`NextTrace`支持参数混合使用

```bash
Example:
Expand All @@ -116,7 +116,7 @@ NextTrace 所有的的 IP 地理位置`API DEMO`可以参考[这里](https://git

```shell
Usage of nexttrace:
nexttrace [options] <hostname>
'nexttrace [options] <hostname>' or 'nexttrace <hostname> [option...]'
Options:
-T Use TCP SYN for tracerouting (default port is 80)
-U Use UDP Package for tracerouting (default port is 53 in UDP)
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...] <hostname>' or 'nexttrace <hostname> [option...]'")
fmt.Println("\nArgs Error\nUsage : 'nexttrace [option...] <hostname>' or 'nexttrace <hostname> [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)
}
Expand Down

0 comments on commit 4148d0d

Please sign in to comment.