Skip to content

Commit

Permalink
attach help and showHelp arguments to the argv store
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnny Domino committed Feb 23, 2013
1 parent 4894c8f commit b73b0e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/nconf/stores/argv.js
Expand Up @@ -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;
};

0 comments on commit b73b0e1

Please sign in to comment.