diff --git a/src/main.cpp b/src/main.cpp index 76af90cde..6061602d7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -392,7 +392,7 @@ static std::unique_ptr ParseArguments(int argc, char { for (auto port: portsArg.getValue()) { - repo->AddValue("Server", "Port", static_cast(port)); + repo->AddValue("Server", "Ports", std::to_string(port)); } } if (commLogArg.getValue()) @@ -555,7 +555,3 @@ int main(int argc, char ** argv) return EXIT_SUCCESS; } - - - -