Newline before printing error messages.

This commit is contained in:
tastytea 2021-05-23 08:55:15 +02:00
parent 281c0d47d2
commit 6334b7051f
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ int main(int argc, char *argv[])
}
catch (std::exception &e)
{ // Exceptions we can't recover from or ones we don't know.
cerr << translate("ERROR: ") << e.what() << '\n';
cerr << '\n' << translate("ERROR: ") << e.what() << '\n';
cerr << translate("Error while parsing options.") << '\n';
return EXIT_FAILURE;
}
@ -85,7 +85,7 @@ int main(int argc, char *argv[])
}
catch (const epubgrep::zip::exception &e)
{
cerr << translate("ERROR: ") << e.what() << '\n';
cerr << '\n' << translate("ERROR: ") << e.what() << '\n';
cerr << translate("Error while processing EPUB file.") << '\n';
return EXIT_FAILURE;
}