Merge pull request #471 from dingodoppelt/cli_remove_spaces

remove spaces from network address given as argument to --connect
This commit is contained in:
Volker Fischer 2020-07-20 15:33:27 +02:00 committed by GitHub
commit 5657bc9e55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ int main ( int argc, char** argv )
"--connect",
strArgument ) )
{
strConnOnStartupAddress = strArgument;
strConnOnStartupAddress = strArgument.simplified().replace( " ", "" );
tsConsole << "- connect on startup to address: " << strConnOnStartupAddress << endl;
continue;
}