attach help and showHelp arguments to the argv store

This commit is contained in:
Johnny Domino 2013-02-23 12:33:23 -05:00
parent 4894c8fcf7
commit b73b0e1a37

View file

@ -61,6 +61,9 @@ Argv.prototype.loadArgv = function () {
self.set(key, argv[key]); self.set(key, argv[key]);
}); });
this.showHelp = optimist.showHelp
this.help = optimist.help
this.readOnly = true; this.readOnly = true;
return this.store; return this.store;
}; };