Skip to content

Commit

Permalink
disable showing 'done searching' in dryrun mode. #31
Browse files Browse the repository at this point in the history
  • Loading branch information
shenwei356 committed Jan 11, 2024
1 parent 459f7f3 commit 57c5535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brename.go
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ Special replacement symbols:
checkError(err)
}
}
if !opt.Quiet || opt.DryRun {
if !opt.Quiet && !opt.DryRun {
fmt.Fprintf(os.Stderr, "\r %-78s\n", green("Done searching."))
}
close(opCH)
Expand Down

0 comments on commit 57c5535

Please sign in to comment.