allow unknown options for api

This commit is contained in:
orignal 2017-03-29 10:51:32 -04:00
parent 8e558f0826
commit fdf11e6038
3 changed files with 15 additions and 7 deletions

View file

@ -41,7 +41,7 @@ namespace config {
*
* Other exceptions will be passed to higher level.
*/
void ParseCmdline(int argc, char* argv[]);
void ParseCmdline(int argc, char* argv[], bool ignoreUnknown = false);
/**
* @brief Load and parse given config file