Fix option parsing.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
cfab12cd6f
commit
dfae404334
1 changed files with 2 additions and 2 deletions
|
@ -134,9 +134,9 @@ namespace common2
|
|||
options.glSwapInterval = vm["gl-swap"].as<int>();
|
||||
options.imgui = vm.count("imgui");
|
||||
|
||||
if (vm.count("config"))
|
||||
if (vm.count("registry"))
|
||||
{
|
||||
options.registryOptions = vm["config"].as<std::vector<std::string> >();
|
||||
options.registryOptions = vm["registry"].as<std::vector<std::string> >();
|
||||
}
|
||||
|
||||
if (vm.count("d1"))
|
||||
|
|
Loading…
Add table
Reference in a new issue