diff --git a/package/utils/cli/files/usr/share/ucode/cli/types.uc b/package/utils/cli/files/usr/share/ucode/cli/types.uc index 46c563dfb34..def3b12d919 100644 --- a/package/utils/cli/files/usr/share/ucode/cli/types.uc +++ b/package/utils/cli/files/usr/share/ucode/cli/types.uc @@ -64,6 +64,8 @@ const types = { return val; let list = this.value; + if (type(list) == "object") + list = keys(list); if (this.ignore_case) { val = lc(val); val = filter(list, (v) => val == lc(v))[0];