From 4428a075896eab42a18cd57135bc3fd8a4a9e89a Mon Sep 17 00:00:00 2001 From: Thomas Geraghty Date: Tue, 29 Jul 2014 00:32:37 +0100 Subject: [PATCH] Style fixes to pull request #216 --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {