From 108b5ed9d1f66884af7ede96155670bb1dc2fb43 Mon Sep 17 00:00:00 2001 From: Mathias Preiner Date: Tue, 5 Dec 2017 12:18:37 -0800 Subject: [PATCH] Fix output of --show-trace-tags. (#1430) Now prints each tag in a separate line. --- src/options/options_handler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/options/options_handler.cpp b/src/options/options_handler.cpp index 4d4ddfc32..4fb6357bd 100644 --- a/src/options/options_handler.cpp +++ b/src/options/options_handler.cpp @@ -1564,11 +1564,11 @@ void OptionsHandler::showDebugTags(std::string option) { void OptionsHandler::showTraceTags(std::string option) { if(Configuration::isTracingBuild()) { - std::cout << "available tags:"; + std::cout << "available tags:" << std::endl; unsigned ntags = Configuration::getNumTraceTags(); char const* const* tags = Configuration::getTraceTags(); for (unsigned i = 0; i < ntags; ++ i) { - std::cout << tags[i]; + std::cout << " " << tags[i] << std::endl; } std::cout << std::endl; } else { -- 2.30.2