Skip to content

Commit

Permalink
PR feedback, cleanup output
Browse files Browse the repository at this point in the history
  • Loading branch information
phillip-stephens committed Nov 22, 2024
1 parent f2aa104 commit b0a64fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/iohandlers/status_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ statusLoop:
case <-ticker.C:
// print per-second summary
timeSinceStart := time.Since(stats.scanStartTime)
s := fmt.Sprintf("%02dh:%02dm:%02ds; %d domains scanned; %.02f domains/sec.; %.01f%% success rate; %s\n",
s := fmt.Sprintf("%02dh:%02dm:%02ds; %d names scanned; %.02f names/sec; %.01f%% success rate; %s\n",
int(timeSinceStart.Hours()),
int(timeSinceStart.Minutes())%60,
int(timeSinceStart.Seconds())%60,
Expand Down Expand Up @@ -114,7 +114,7 @@ statusLoop:
}
}
timeSinceStart := time.Since(stats.scanStartTime)
s := fmt.Sprintf("%02dh:%02dm:%02ds; Scan Complete, no more input. %d domains scanned; %.02f domains/sec.; %.01f%% success rate; %s\n",
s := fmt.Sprintf("%02dh:%02dm:%02ds; Scan Complete; %d names scanned; %.02f names/sec; %.01f%% success rate; %s\n",
int(timeSinceStart.Hours()),
int(timeSinceStart.Minutes())%60,
int(timeSinceStart.Seconds())%60,
Expand Down

0 comments on commit b0a64fd

Please sign in to comment.