diff --git a/src/index.ts b/src/index.ts index c48371b..3c059a4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -435,7 +435,7 @@ export default class Config { } public parseArg(args: arg.Result) { - for (let key in args) { + for (let key in args._) { let newKey = key.replace("-", ""); objectPath.set(this.data, newKey, args[key]); }