cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-06-21 21:17:36 +03:00
parent de9c29ac66
commit e7bf2a8212

10
argv.js
View File

@ -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) },
})