diff --git a/core/core-cli-lib.el b/core/core-cli-lib.el index b4685fd63..937af959c 100644 --- a/core/core-cli-lib.el +++ b/core/core-cli-lib.el @@ -497,7 +497,7 @@ Throws `doom-cli-invalid-option-error' for illegal values." (types (ensure-list (nth i args))) errors) (catch 'done - (dolist (type (ensure-list (nth i args))) + (dolist (type types) (pcase-let (((map :test :read :error) (if (or (symbolp type)