From 10cf9ff839bc49a236f2eb9f5844a51ec7464452 Mon Sep 17 00:00:00 2001 From: Kjetil Olsen Lye Date: Wed, 9 Oct 2024 16:29:02 +0200 Subject: [PATCH] use fmt::print instead of fmt::println --- flowexperimental/comp/flowexp_comp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flowexperimental/comp/flowexp_comp.cpp b/flowexperimental/comp/flowexp_comp.cpp index bf2cc0e22..7eeca4576 100644 --- a/flowexperimental/comp/flowexp_comp.cpp +++ b/flowexperimental/comp/flowexp_comp.cpp @@ -95,9 +95,9 @@ main(int argc, char** argv) = runComponent(numComps, argc, argv); if (!componentSupported) { - fmt::println("Deck has {} components, not supported. In this build of the simulator, we support the " - "following number of components:\n\t{}. Note that the supported components can be changed " - "when configuring CMake through the OPM_COMPILE_COMPONENTS options. Exiting.", + fmt::print("Deck has {} components, not supported. In this build of the simulator, we support the " + "following number of components:\n\n\t{}.\n\n Note that the supported components can be changed " + "when configuring CMake through the OPM_COMPILE_COMPONENTS options. Exiting.\n", numComps, fmt::join(std::array {OPM_COMPILE_COMPONENTS_TEMPLATE_LIST}, ", ")); }