commander
Advanced tools
Comparing version 1.0.2 to 1.0.3
1.0.3 / 2012-08-30 | ||
================== | ||
* remove invalid .version() defaulting | ||
1.0.2 / 2012-08-24 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -348,8 +348,2 @@ /*! | ||
if (!this.name) this.name = basename(argv[1]); | ||
// guess version | ||
if (!this._version) { | ||
try { | ||
this.version(require('../package.json').version); | ||
} catch(e) {} | ||
} | ||
// process argv | ||
@@ -356,0 +350,0 @@ var parsed = this.parseOptions(this.normalize(argv.slice(2))); |
{ | ||
"name": "commander" | ||
, "version": "1.0.2" | ||
, "version": "1.0.3" | ||
, "description": "the complete solution for node.js command-line programs" | ||
@@ -5,0 +5,0 @@ , "keywords": ["command", "option", "parser", "prompt", "stdin"] |
32946
912