Skip to content

Commit 5eaa294

Browse files
committed
Output errors to stderr
1 parent 84accbf commit 5eaa294

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlgrep/sqlgrep.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void write_verbose(string_view const message)
4646

4747
void write_error(string_view const message)
4848
{
49-
write_colour(message, termcolor::red);
49+
cerr << termcolor::red << message << termcolor::reset << endl;
5050
}
5151

5252
void write_progress(uint64_t total, uint64_t completed, chrono::duration<uint64_t, std::nano> time_taken_so_far)

0 commit comments

Comments
 (0)