Remove unused local variable

`hasOptional` is assigned but unused from anywhere.
This commit is contained in:
Ryunosuke SATO
2015-01-18 20:16:32 +09:00
parent d877a04397
commit 24d6c3f488

View File

@@ -34,13 +34,10 @@ commander.on("--help", function(){
console.log(" " + title + ":");
console.log();
var hasOptional = true;
_.each(_.keys(obj).sort(), function (key) {
if (key[0] === "_") return;
if (obj[key].optional) {
hasOptional = true;
key = "[" + key + "]";
}