From e535abd2ff94303d12555ac4d0fd91da2e074763 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 19 Dec 2022 11:35:24 -0500 Subject: [PATCH] *Need to use the _ property --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); }