Comparing version 1.0.1 to 1.0.2
@@ -43,2 +43,5 @@ // info about each config option. | ||
data.argv = {remain:remain,cooked:cooked,original:original} | ||
data.argv.toString = function () { | ||
return this.remain.map(JSON.stringify).join(" ") | ||
} | ||
return data | ||
@@ -45,0 +48,0 @@ } |
{ "name" : "nopt" | ||
, "version" : "1.0.1" | ||
, "version" : "1.0.2" | ||
, "description" : "Option parsing for Node, supporting types, shorthands, etc. Used by npm." | ||
, "author" : "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)" | ||
, "main" : "lib/nopt.js" | ||
, "scripts" : { "test" : "node lib/optparse.js" } | ||
, "scripts" : { "test" : "node lib/nopt.js" } | ||
, "repository" : "http://github.com/isaacs/nopt" | ||
, "dependencies" : { "abbrev" : "1" }} |
19254
390