attach help and showHelp arguments to the argv store
This commit is contained in:
parent
4894c8fcf7
commit
b73b0e1a37
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue