diff --git a/opter.js b/opter.js index 0f5f047..5591aac 100644 --- a/opter.js +++ b/opter.js @@ -82,7 +82,7 @@ module.exports = class Opts { } if (name in this.opts) { - checkArgs(this.opts[name]); + checkArgs(name); } if (name in this.synonyms) { const syn = this.synonyms[name].filter(s => s in this.opts )[0];