Added support for type-less connector options (i.e. flags)
This commit is contained in:
parent
037d730f0f
commit
7d420d884e
1 changed files with 3 additions and 1 deletions
|
@ -96,7 +96,9 @@ namespace Controller {
|
|||
p[it.key()] = p[it.key()].asString();
|
||||
if (p[it.key()].asStringRef().size() > 0){
|
||||
argarr[argnum++] = (char*)((*it)["option"].asStringRef().c_str());
|
||||
argarr[argnum++] = (char*)(p[it.key()].asStringRef().c_str());
|
||||
if (it->isMember("type")){
|
||||
argarr[argnum++] = (char*)(p[it.key()].asStringRef().c_str());
|
||||
}
|
||||
}
|
||||
}else{
|
||||
if (it.key() == "debug"){
|
||||
|
|
Loading…
Add table
Reference in a new issue