Don't add extra newlines before errors.
This commit is contained in:
parent
2b91a839cc
commit
b96315f8bb
|
@ -68,7 +68,7 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
catch (std::exception &e)
|
||||
{ // Exceptions we can't recover from or ones we don't know.
|
||||
cerr << '\n' << translate("ERROR: ") << e.what() << '\n';
|
||||
cerr << translate("ERROR: ") << e.what() << '\n';
|
||||
cerr << translate("Error while parsing options.") << '\n';
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
@ -112,8 +112,7 @@ int main(int argc, char *argv[])
|
|||
continue;
|
||||
}
|
||||
|
||||
cerr << '\n'
|
||||
<< translate("ERROR: ")
|
||||
cerr << translate("ERROR: ")
|
||||
<< format(translate("Could not open {0:s}: {1:s}").str(),
|
||||
e.path1(), e.what())
|
||||
<< '\n';
|
||||
|
@ -148,7 +147,7 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
catch (const std::exception &e)
|
||||
{
|
||||
cerr << '\n' << translate("ERROR: ") << e.what() << '\n';
|
||||
cerr << translate("ERROR: ") << e.what() << '\n';
|
||||
cerr << format(translate("Error while searching {0:s}.")
|
||||
.str(),
|
||||
filepath)
|
||||
|
|
Loading…
Reference in New Issue
Block a user