public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Fix trivial typo when printing version string
@ 2021-06-09 21:50 Ben Woodard
  2021-06-10 13:31 ` Dodji Seketeli
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Woodard @ 2021-06-09 21:50 UTC (permalink / raw)
  To: libabigail; +Cc: bolo, Ben Woodard

When abicompat prints its version string, it does not terminate
it with a newline the way that other commands do. Contributed by
Bolo.

Signed-off-by: Ben Woodard <woodard@redhat.com>
---
 tools/abicompat.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/abicompat.cc b/tools/abicompat.cc
index f9b019fb..be3946e1 100644
--- a/tools/abicompat.cc
+++ b/tools/abicompat.cc
@@ -633,7 +633,8 @@ main(int argc, char* argv[])
   if (opts.display_version)
     {
       emit_prefix(argv[0], cout)
-	<< abigail::tools_utils::get_library_version_string();
+	<< abigail::tools_utils::get_library_version_string()
+	<< "\n";
       return 0;
     }
 
-- 
2.31.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-10 13:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-09 21:50 [PATCH] Fix trivial typo when printing version string Ben Woodard
2021-06-10 13:31 ` Dodji Seketeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).