nl_tokens: extend the aliases list with inferred aliases .
pl_tokens: function extendAliases ( obj ) { Object . keys ( obj || { } ) . forEach ( function ( <mask> ) { aliases [ key ] = [ ] . concat ( opts . alias [ key ] || [ ] ) // For "--option-name", also set argv.optionName aliases [ key ] . concat ( key ) . forEach ( function ( x ) { if ( / - / . test ( x ) ) { var c = camelCase ( x ) aliases [ key ] . push ( c ) newAliases [ c ] = true } } ) aliases [ key ] . forEach ( function ( x ) { aliases [ x ] = [ key ] . concat ( aliases [ key ] . filter ( function ( y ) { return x !== y } ) ) } ) } ) }