lib/exe.js
function getModules(argv,modules){
    if(argv.module){
        var which = getModuleConfig(argv.module,modules);
        if(which){
            return [which];
        }else{
            return [];
        }
    }
    return modules;
}
function getModules(argv,modules){
    if(argv.module){
        var which = getModuleConfig(argv.module,modules);
        if(which){
            return [which];
        }else{
            return [];
        }
    }
    return modules;
}
function getModules ( argv , modules ) { if ( argv . module ) { var which = getModuleConfig ( argv . module , modules ) ; if ( which ) { return [ which ] ; } else { return [ ] ; } } return modules ; }
Filter modules against cmd arg
@param argv {object}
@param modules {object[]}
@returns {*}
Filter modules against cmd arg