Fixed a bug in parsing configuration values.
This commit is contained in:
parent
c7a058960e
commit
59d03dcf48
1 changed files with 2 additions and 0 deletions
|
@ -248,6 +248,8 @@ void Util::Config::parseArgs(int & argc, char ** & argv){
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
optind++;
|
||||||
|
long_i++;
|
||||||
}
|
}
|
||||||
if (long_i <= arg_count){
|
if (long_i <= arg_count){
|
||||||
std::cerr << "Usage error: missing argument(s)." << std::endl;
|
std::cerr << "Usage error: missing argument(s)." << std::endl;
|
||||||
|
|
Loading…
Add table
Reference in a new issue