diff --git a/lib/nconf/provider.js b/lib/nconf/provider.js index c331c73..5acfc97 100644 --- a/lib/nconf/provider.js +++ b/lib/nconf/provider.js @@ -30,7 +30,7 @@ var Provider = exports.Provider = function (options) { // in this instance // -['add', 'env'].forEach(function (type) { +['argv', 'env'].forEach(function (type) { Provider.prototype[type] = function () { var args = [type].concat(Array.prototype.slice.call(arguments)); return this.add.apply(this, args);