diff --git a/Common/CommandLine.cpp b/Common/CommandLine.cpp index 2bcb113752ef2857041a8e2e080b128a1da15ca4..44e671823a74d4599acedc2dd24225c4ecba23bb 100644 --- a/Common/CommandLine.cpp +++ b/Common/CommandLine.cpp @@ -162,19 +162,15 @@ void GetOptions(int argc, char *argv[]) else Msg::Fatal("Missing client name and/or address of OneLab server"); } - - //FHF else if(!strcmp(argv[i] + 1, "lol")) { i++; if(argv[i] && argv[i + 1] && argv[i + 1][0] != '-'){ Msg::LoadOnelabClient(argv[i], argv[i + 1]); i += 2; } - else + else Msg::Fatal("Missing client name and/or address of OneLab server"); } - // - else if(!strcmp(argv[i] + 1, "socket")) { i++; if(argv[i]) diff --git a/Common/GmshMessage.h b/Common/GmshMessage.h index f6fc50b2184c67cdffce5939cc6ade3cc0e5308a..e390209e61cf65f3fd165781cabf036ee6db91be 100644 --- a/Common/GmshMessage.h +++ b/Common/GmshMessage.h @@ -95,9 +95,9 @@ class Msg { static void SetOnelabNumber(std::string name, double val, bool visible); static void SetOnelabString(std::string name, std::string val, bool visible); static void ExchangeOnelabParameter(const std::string &key, - std::vector<double> &val, - std::map<std::string, std::vector<double> > &fopt, - std::map<std::string, std::vector<std::string> > &copt); + std::vector<double> &val, + std::map<std::string, std::vector<double> > &fopt, + std::map<std::string, std::vector<std::string> > &copt); static void ImportPhysicalsAsOnelabRegions(); };