Add nodejs test for dataset name

This commit is contained in:
Patrick Niklaus
2018-04-04 14:05:46 +00:00
committed by Patrick Niklaus
parent 2c80f76004
commit 0e8b8b4901
7 changed files with 42 additions and 14 deletions
+11 -6
View File
@@ -90,12 +90,17 @@ inline unsigned generateServerProgramOptions(const int argc,
// declare a group of options that will be allowed only on command line
boost::program_options::options_description generic_options("Options");
generic_options.add_options() //
("version,v", "Show version")("help,h", "Show this help message")(
"verbosity,l",
boost::program_options::value<std::string>(&config.verbosity)->default_value("INFO"),
std::string("Log verbosity level: " + util::LogPolicy::GetLevels()).c_str())(
"trial", value<bool>(&trial)->implicit_value(true), "Quit after initialization");
generic_options.add_options() //
("version,v", "Show version") //
("help,h", "Show this help message") //
("verbosity,l",
#ifdef NDEBUG
boost::program_options::value<std::string>(&config.verbosity)->default_value("INFO"),
#else
boost::program_options::value<std::string>(&config.verbosity)->default_value("DEBUG"),
#endif
std::string("Log verbosity level: " + util::LogPolicy::GetLevels()).c_str()) //
("trial", value<bool>(&trial)->implicit_value(true), "Quit after initialization");
// declare a group of options that will be allowed on command line
boost::program_options::options_description config_options("Configuration");