From ccb2e3ee51729c893c6eb8042cb0aff560c193b8 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Fri, 30 May 2014 10:56:15 +0300 Subject: [PATCH 1/1] Minor fix. --- projects/sgconf/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/sgconf/main.cpp b/projects/sgconf/main.cpp index 3a627aef..a93233f2 100644 --- a/projects/sgconf/main.cpp +++ b/projects/sgconf/main.cpp @@ -251,7 +251,7 @@ blocks.Add("General options") SGCONF::OPTION_BLOCK & block = blocks.Add("Connection options") .Add("s", "server", SGCONF::MakeParamAction(config.server, std::string("localhost"), "
"), "\t\thost to connect") .Add("p", "port", SGCONF::MakeParamAction(config.port, uint16_t(5555), ""), "\t\tport to connect") - .Add("local-address", SGCONF::MakeParamAction(config.localAddress, std::string(""), "
"), "\t\tlocal address to bind") + .Add("local-address", SGCONF::MakeParamAction(config.localAddress, std::string(""), "
"), "\tlocal address to bind") .Add("local-port", SGCONF::MakeParamAction(config.localPort, uint16_t(0), ""), "\t\tlocal port to bind") .Add("u", "username", SGCONF::MakeParamAction(config.userName, std::string("admin"), ""), "\tadministrative login") .Add("w", "userpass", SGCONF::MakeParamAction(config.userPass, ""), "\tpassword for the administrative login") -- 2.44.2