Newline before printing error messages.
This commit is contained in:
parent
281c0d47d2
commit
6334b7051f
|
@ -56,7 +56,7 @@ int main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
catch (std::exception &e)
|
catch (std::exception &e)
|
||||||
{ // Exceptions we can't recover from or ones we don't know.
|
{ // 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';
|
cerr << translate("Error while parsing options.") << '\n';
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
@ -85,7 +85,7 @@ int main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
catch (const epubgrep::zip::exception &e)
|
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';
|
cerr << translate("Error while processing EPUB file.") << '\n';
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user