From ab52f300e2c993c42f2ee8b8da315f56702decff Mon Sep 17 00:00:00 2001 From: moonleay Date: Sun, 9 Feb 2025 21:21:10 +0100 Subject: [PATCH] fix: added new line before output --- main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.cpp b/main.cpp index d44c21f..7f2db53 100644 --- a/main.cpp +++ b/main.cpp @@ -50,16 +50,16 @@ int main(int argc, char** argv) { sc->run(parameter); if (sc->should_display_result()) - cout << "100: Alles erfolgreich\n"; + cout << "\n100: Alles erfolgreich\n"; return sc->get_value(); } } } catch (Error& e) { - cout << e.get_nr() << ": " << e.what() << "\n"; + cout << "\n" << e.get_nr() << ": " << e.what() << "\n"; return e.get_nr(); } - cout << "101: Befehl ist unbekannt.\n"; + cout << "\n101: Befehl ist unbekannt.\n"; return 101; }