mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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
This commit is contained in:
2
bin/doom
2
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)")
|
||||
|
Reference in New Issue
Block a user