mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-07 12:10:52 -06:00
Merge branch 'master' of github.com:OpenSpace/OpenSpace into feature/stereo-atm-merge
This commit is contained in:
@@ -93,29 +93,29 @@ int main(int argc, char** argv) {
|
||||
)
|
||||
);
|
||||
|
||||
if (password == "") {
|
||||
password = defaultPassword.str();
|
||||
LINFO(fmt::format("Connection password: {}", password));
|
||||
}
|
||||
|
||||
std::string changeHostPassword = "";
|
||||
commandlineParser.addCommand(
|
||||
std::make_unique<ghoul::cmdparser::SingleCommand<std::string>>(
|
||||
password,
|
||||
changeHostPassword,
|
||||
"--hostpassword",
|
||||
"-h",
|
||||
"Sets the host password to use"
|
||||
)
|
||||
);
|
||||
|
||||
if (changeHostPassword == "") {
|
||||
changeHostPassword = defaultChangeHostPassword.str();
|
||||
LINFO(fmt::format("Host password: {}", changeHostPassword));
|
||||
}
|
||||
|
||||
commandlineParser.setCommandLine(arguments);
|
||||
commandlineParser.execute();
|
||||
|
||||
if (password == "") {
|
||||
password = defaultPassword.str();
|
||||
}
|
||||
if (changeHostPassword == "") {
|
||||
changeHostPassword = defaultChangeHostPassword.str();
|
||||
}
|
||||
|
||||
LINFO(fmt::format("Connection password: {}", password));
|
||||
LINFO(fmt::format("Host password: {}", changeHostPassword));
|
||||
|
||||
int port = 25001;
|
||||
|
||||
if (portString != "") {
|
||||
|
||||
Reference in New Issue
Block a user