diff --git a/lib/nconf/stores/argv.js b/lib/nconf/stores/argv.js index b130ce3..60c4171 100644 --- a/lib/nconf/stores/argv.js +++ b/lib/nconf/stores/argv.js @@ -61,6 +61,9 @@ Argv.prototype.loadArgv = function () { self.set(key, argv[key]); }); + this.showHelp = optimist.showHelp + this.help = optimist.help + this.readOnly = true; return this.store; }; \ No newline at end of file