When abilint prints its tips information and abisym prints its
version string, it does not terminate it with a newline the way
that other commands do.
* tools/abilint.cc (main): End the 'FILE_TYPE_UNKNOWN' tips with a
newline.
* tools/abisym.cc (main): Add a newline after version string.
Signed-off-by: tangmeng <tangmeng@uniontech.com>
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
{
case abigail::tools_utils::FILE_TYPE_UNKNOWN:
emit_prefix(argv[0], cerr)
- << "Unknown file type given in input: " << opts.file_path;
+ << "Unknown file type given in input: " << opts.file_path
+ << "\n";
return 1;
case abigail::tools_utils::FILE_TYPE_NATIVE_BI:
tu = read_translation_unit_from_file(opts.file_path, env.get());
if (opts.display_version)
{
abigail::tools_utils::emit_prefix(argv[0], cout)
- << abigail::tools_utils::get_library_version_string();
+ << abigail::tools_utils::get_library_version_string()
+ << "\n";
return 0;
}