commander
Advanced tools
Comparing version 0.3.1 to 0.3.2
0.3.2 / 2011-11-01 | ||
================== | ||
* Fixed long flag definitions with values [felixge] | ||
0.3.1 / 2011-10-31 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -48,3 +48,3 @@ /*! | ||
flags = flags.split(/[ ,|]+/); | ||
if (flags.length > 1) this.short = flags.shift(); | ||
if (flags.length > 1 && !/^[[<]/.test(flags[1])) this.short = flags.shift(); | ||
this.long = flags.shift(); | ||
@@ -51,0 +51,0 @@ this.description = description; |
{ | ||
"name": "commander" | ||
, "version": "0.3.1" | ||
, "version": "0.3.2" | ||
, "description": "the complete solution for node.js command-line programs" | ||
@@ -5,0 +5,0 @@ , "keywords": ["command", "option", "parser", "prompt", "stdin"] |
38950
31
971