mirror of
https://github.com/nxtrace/NTrace-core.git
synced 2025-08-12 06:26:39 +00:00
Compare commits
1 Commits
v1.2.3.1
...
v0.1.2-bet
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8b0cd99f54 |
4
main.go
4
main.go
@@ -25,11 +25,11 @@ var rdnsenable = flag.Bool("rdns", false, "Set whether rDNS will be display")
|
||||
var routePath = flag.Bool("report", false, "Route Path")
|
||||
var realtimePrint = flag.Bool("realtime", false, "Output trace results in runtime")
|
||||
var tablePrint = flag.Bool("table", false, "Output trace results as table")
|
||||
var version = flag.Bool("V", false, "Check Version")
|
||||
var ver = flag.Bool("V", false, "Check Version")
|
||||
|
||||
func flagApply() string {
|
||||
flag.Parse()
|
||||
if *version {
|
||||
if *ver {
|
||||
printer.Version()
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user