Let ParseAll exit if unsuccessfull

This commit is contained in:
Alexey Rybalchenko
2016-05-12 11:35:24 +02:00
committed by Mohammad Al-Turany
parent 31456e71ff
commit 28aa5e4caa
8 changed files with 23 additions and 44 deletions

View File

@@ -36,7 +36,7 @@ class FairMQProgOptions : public FairProgOptions
// parse command line and txt/INI configuration file.
// default parser for the mq-configuration file (JSON/XML) is called if command line key mq-config is called
virtual int ParseAll(const int argc, char** argv, bool allowUnregistered = false);
virtual void ParseAll(const int argc, char** argv, bool allowUnregistered = false);
// external parser, store function
template <typename T, typename ...Args>