Fixed port command line argument. (#3287)
This commit is contained in:
parent
8107d5c3ac
commit
62702cab48
@ -392,7 +392,7 @@ static std::unique_ptr<cMemorySettingsRepository> ParseArguments(int argc, char
|
|||||||
{
|
{
|
||||||
for (auto port: portsArg.getValue())
|
for (auto port: portsArg.getValue())
|
||||||
{
|
{
|
||||||
repo->AddValue("Server", "Port", static_cast<Int64>(port));
|
repo->AddValue("Server", "Ports", std::to_string(port));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (commLogArg.getValue())
|
if (commLogArg.getValue())
|
||||||
@ -555,7 +555,3 @@ int main(int argc, char ** argv)
|
|||||||
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user