From 6cb2c6e962e892a78117e0ab9463bcccc978c680 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 4 Jul 2022 02:56:03 +0200 Subject: [PATCH] fix(cli): recognize global options for pseudo CLIs The global options (like --debug and --pager) weren't recognized for pseudo command like :help and :version (in particular, rendering --pager ineffective). Fix: #6526 --- bin/doom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/doom b/bin/doom index a3037ae27..524ed197c 100755 --- a/bin/doom +++ b/bin/doom @@ -174,7 +174,7 @@ SEE ALSO: https://git.doomemacs.org/issues Global issue tracker" :partial t) -(defcli! (:before doom) +(defcli! :before ((force? ("-!" "--force") "Suppress prompts by auto-accepting their consequences") (debug? ("-D" "--debug") "Enable verbose output") (doomdir ("--doomdir" dir) "Use Doom config living in `DIR' (e.g. ~/.doom.d)")