From 317f4e1ff32d54496deee575ffeab4697f45ac8e Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Thu, 16 Jul 2015 12:15:26 +0200 Subject: [PATCH] Cleanup the output for added/removed binaries * tools/abipkgdiff.cc (compare): In the overload for packages, indent the content of the "Removed binaries" and "Added binaries" paragraphs. Signed-off-by: Dodji Seketeli --- tools/abipkgdiff.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/abipkgdiff.cc b/tools/abipkgdiff.cc index f045a435..2e2c8f3b 100644 --- a/tools/abipkgdiff.cc +++ b/tools/abipkgdiff.cc @@ -644,18 +644,18 @@ compare(package& first_package, if (diff.removed_binaries.size()) { - cout << "Removed binaries\n"; + cout << "Removed binaries:\n"; for (vector::iterator it = diff.removed_binaries.begin(); it != diff.removed_binaries.end(); ++it) - cout << *it << "\n"; + cout << " " << *it << "\n"; } if (diff.added_binaries.size()) { - cout << "Added binaries\n"; + cout << "Added binaries:\n"; for (vector::iterator it = diff.added_binaries.begin(); it != diff.added_binaries.end(); ++it) - cout << *it << "\n"; + cout << " " << *it << "\n"; } erase_created_temporary_directories(first_package, second_package); -- 2.43.5