Skip to content

Commit

Permalink
fix: Fast Trace 无法使用
Browse files Browse the repository at this point in the history
  • Loading branch information
sjlleo committed Jan 17, 2023
1 parent 08c4a5c commit 801f428
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ func Excute() {
// In case of error print error and print usage
// This can also be done by passing -h or --help flags
fmt.Print(parser.Usage(err))
return
}

if *ver {
Expand All @@ -65,11 +66,6 @@ func Excute() {

domain := *str

if domain == "" {
fmt.Print(parser.Usage(err))
return
}

if *fast_trace {
fastTrace.FastTest(*tcp, *output)
if *output {
Expand All @@ -79,6 +75,11 @@ func Excute() {
os.Exit(0)
}

if domain == "" {
fmt.Print(parser.Usage(err))
return
}

capabilities_check()
// return

Expand Down

0 comments on commit 801f428

Please sign in to comment.