Skip to content
Snippets Groups Projects
Commit e9799289 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

cleanup

parent 566ca189
No related branches found
No related tags found
No related merge requests found
......@@ -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])
......
......@@ -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();
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment