optimist
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -171,3 +171,5 @@ var path = require('path'); | ||
if (opt.demand) self.demand(key); | ||
if (opt.default) self.default(key, opt.default); | ||
if (typeof opt.default !== 'undefined') { | ||
self.default(key, opt.default); | ||
} | ||
@@ -174,0 +176,0 @@ if (opt.boolean || opt.type === 'boolean') { |
{ | ||
"name" : "optimist", | ||
"version" : "0.3.0", | ||
"version" : "0.3.1", | ||
"description" : "Light-weight option parsing with an argv hash. No optstrings attached.", | ||
@@ -5,0 +5,0 @@ "main" : "./index.js", |
45799
1112