From c6a4bf305ea67ce9697c483696b041e55842c3ac Mon Sep 17 00:00:00 2001 From: Bret Curtis Date: Sun, 30 Apr 2023 18:08:48 +0200 Subject: [PATCH] clean-format fix1 --- apps/mwiniimporter/main.cpp | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/apps/mwiniimporter/main.cpp b/apps/mwiniimporter/main.cpp index d9691fcdcc..d87c61e72c 100644 --- a/apps/mwiniimporter/main.cpp +++ b/apps/mwiniimporter/main.cpp @@ -83,20 +83,24 @@ int wmain(int argc, wchar_t* wargv[]) std::string gameEncoding = "win1252"; app.add_option("-e,--encoding", gameEncoding, - "Character encoding used in OpenMW game messages.\n" - "\n\twin1250 - Central and Eastern European such as Polish, Czech, Slovak, Hungarian, Slovene, Bosnian, " - "Croatian, Serbian (Latin script), Romanian and Albanian languages\n" - "\n\twin1251 - Cyrillic alphabet such as Russian, Bulgarian, Serbian Cyrillic and other languages\n" - "\n\twin1252 - Western European (Latin) alphabet, used by default" + "Character encoding used in OpenMW game messages.\n" + "\n\twin1250 - Central and Eastern European such as Polish, Czech, Slovak, Hungarian, Slovene, Bosnian, " + "Croatian, Serbian (Latin script), Romanian and Albanian languages\n" + "\n\twin1251 - Cyrillic alphabet such as Russian, Bulgarian, Serbian Cyrillic and other languages\n" + "\n\twin1252 - Western European (Latin) alphabet, used by default" ) - ->default_str("win1252")->check(CLI::IsMember({"win1250", "win1251", "win1252"}, CLI::ignore_case)); + ->default_str("win1252") + ->check(CLI::IsMember({"win1250", "win1251", "win1252"}, CLI::ignore_case)); bool verbose = false; app.add_flag("-v,--verbose", verbose, "verbose output"); - try { + try + { CLI11_PARSE(app, argc, argv) - } catch (const CLI::ParseError& e) { + } + catch (const CLI::ParseError& e) + { std::cerr << e.what() << std::endl; std::cout << app.help() << std::endl; return app.exit(e);