Skip to content

Commit

Permalink
internal/phpgrep: print num of matches
Browse files Browse the repository at this point in the history
Fixes #61

Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
  • Loading branch information
quasilyte committed Oct 28, 2020
1 parent 21db035 commit 9690282
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/phpgrep/program.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ func (p *program) printMatches() error {
}
}
}
log.Printf("found %d matches", printed)
return nil
}

Expand Down

0 comments on commit 9690282

Please # to comment.