mirror of
https://github.com/flynx/argv.js.git
synced 2025-10-29 02:40:07 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
de9c29ac66
commit
e7bf2a8212
10
argv.js
10
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 =
|
var Parser =
|
||||||
module.Parser =
|
module.Parser =
|
||||||
object.Constructor('Parser', {
|
object.Constructor('Parser', {
|
||||||
@ -563,8 +556,7 @@ object.Constructor('Parser', {
|
|||||||
|
|
||||||
// check for alias loops...
|
// check for alias loops...
|
||||||
this.initCheck
|
this.initCheck
|
||||||
&& this.options(this.optionPrefix, this.commandPrefix)
|
&& this.options(this.optionPrefix, this.commandPrefix) },
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user