mirror of
https://github.com/flynx/argv.js.git
synced 2025-10-28 18:30:07 +00:00
notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
68f4fab4fd
commit
72103ea846
1
argv.js
1
argv.js
@ -567,6 +567,7 @@ object.Constructor('Parser', {
|
|||||||
: !key.startsWith(COMMAND_PREFIX) ?
|
: !key.startsWith(COMMAND_PREFIX) ?
|
||||||
key.replace(this.commandInputPattern, COMMAND_PREFIX+'$1')
|
key.replace(this.commandInputPattern, COMMAND_PREFIX+'$1')
|
||||||
: key
|
: key
|
||||||
|
// unwind aliases...
|
||||||
var seen = new Set()
|
var seen = new Set()
|
||||||
while(key in this
|
while(key in this
|
||||||
&& typeof(this[key]) == typeof('str')){
|
&& typeof(this[key]) == typeof('str')){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user