mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
This commit is contained in:
commit
2d3f3f19dc
|
@ -795,11 +795,17 @@ exports.toArgv = function (structure, longOptsEqual) {
|
|||
vec.push('--' + key + '=' + structure[key]);
|
||||
}
|
||||
else {
|
||||
vec.push('--' + key);
|
||||
if (structure[key] !== false) {
|
||||
vec.push('--' + key);
|
||||
if (structure[key] !== true) {
|
||||
vec.push(structure[key]);
|
||||
}
|
||||
else {
|
||||
vec.push("true");
|
||||
}
|
||||
}
|
||||
else {
|
||||
vec.push("false");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue