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:
parent
af4c18e283
commit
6cb2c6e962
1 changed files with 1 additions and 1 deletions
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)")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue