1
0
Fork 0

Merge branch 'devel' of https://github.com/arangodb/arangodb into devel

This commit is contained in:
Jan Steemann 2015-06-11 13:15:00 +02:00
commit 2d3f3f19dc
1 changed files with 7 additions and 1 deletions

View File

@ -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");
}
}
}