Skip to content

Commit ef213c4

Browse files
authored
Show matches from PrepareLine (#22)
1 parent c49f160 commit ef213c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/catp/catp/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func (r *runner) st(s progress.Status) string {
122122
atomic.StoreInt64(&r.lastBytesUncompressed, currentBytesUncompressed)
123123
}
124124

125-
if len(r.pass) > 0 || len(r.skip) > 0 {
125+
if len(r.pass) > 0 || len(r.skip) > 0 || r.options.PrepareLine != nil {
126126
m := atomic.LoadInt64(&r.matches)
127127
pr.Matches = &m
128128
res += fmt.Sprintf(", matches %d", m)

0 commit comments

Comments
 (0)