fix: added new line before output

This commit is contained in:
moonleay 2025-02-09 21:21:10 +01:00
parent bdc78f950e
commit ab52f300e2
Signed by: moonleay
GPG key ID: 82667543CCD715FB

View file

@ -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;
}