Skip to content

Commit

Permalink
Style fixes to pull request #216
Browse files Browse the repository at this point in the history
  • Loading branch information
thethomaseffect committed Jul 28, 2014
1 parent 3242851 commit 4428a07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,8 @@ Command.prototype.normalize = function(args){
lastOpt = this.optionFor(args[i-1]);
}

if(arg==='--'){
// honor option terminator
if (arg === '--') {
// Honor option terminator
ret = ret.concat(args.slice(i));
break;
} else if (lastOpt && lastOpt.required) {
Expand Down

0 comments on commit 4428a07

Please sign in to comment.