diff --git a/index.js b/index.js index 33b84945b..5a1312c0f 100644 --- a/index.js +++ b/index.js @@ -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) {