From: Maxim Mamontov Date: Fri, 30 May 2014 07:56:15 +0000 (+0300) Subject: Minor fix. X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/ccb2e3ee51729c893c6eb8042cb0aff560c193b8 Minor fix. --- 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")