attach help and showHelp arguments to the argv store
parent
4894c8fcf7
commit
b73b0e1a37
|
@ -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;
|
||||
};
|
Loading…
Reference in New Issue