attach help and showHelp arguments to the argv store

master
Johnny Domino 2013-02-23 12:33:23 -05:00
parent 4894c8fcf7
commit b73b0e1a37
1 changed files with 3 additions and 0 deletions

View File

@ -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;
};