Skip to content

Commit

Permalink
enforce space between arg key and value
Browse files Browse the repository at this point in the history
  • Loading branch information
okdistribute committed Aug 24, 2015
1 parent 8a5d94c commit 86b321a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ module.exports = function (args, opts) {
}

if (letters[j+1] && letters[j+1].match(/\W/)) {
setArg(letters[j], arg.slice(j+2), arg);
setArg(letters[j], arg.slice(j+3), arg);
broken = true;
break;
}
Expand Down

0 comments on commit 86b321a

Please sign in to comment.