From e7bf2a82124ab3dd070d8d94da0d3ccca1448e62 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 21 Jun 2020 21:17:36 +0300 Subject: [PATCH] cleanup... Signed-off-by: Alex A. Naanou --- argv.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/argv.js b/argv.js index 17bec31..4fb98cb 100644 --- a/argv.js +++ b/argv.js @@ -283,13 +283,6 @@ function(spec){ -// XXX Q's: -// - can we differenciate commands from other methods/attrs?? -// '@cmd': function(){ ... }, -// $cmd: function(){ ... }, -// ...otherwise we can't cleanly store anything without having to -// either wrap it in underscores, encapsulating or adding exceptions -// on option/command names... var Parser = module.Parser = object.Constructor('Parser', { @@ -563,8 +556,7 @@ object.Constructor('Parser', { // check for alias loops... this.initCheck - && this.options(this.optionPrefix, this.commandPrefix) - }, + && this.options(this.optionPrefix, this.commandPrefix) }, })