fix(cli): -!/--force being ignored

Forgot to adapt the old code to use doom-cli-context struct!

Fix: #6485
This commit is contained in:
Henrik Lissner 2022-06-21 23:00:00 +02:00
parent 72a8485d77
commit 5519c030ff
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
2 changed files with 4 additions and 5 deletions

View file

@ -595,7 +595,7 @@ Throws `doom-cli-invalid-option-error' for illegal values."
,@(if (memq ?1 pipes) `((:out . ,scope)))))
:skip t)
;; If non-nil, suppress prompts and auto-accept their consequences.
(suppress-prompts-p (if (getenv "__DOOMFORCE") t))
suppress-prompts-p
(prefix "@") ; The basename of the script creating this context
meta-p ; Whether or not this is a help/meta request
error ;