Fix 'doom help'
doom-cli-internal-p was accidentally removed in e632871a1
, and the
psuedo CLI command :main was renamed to :doom.
This commit is contained in:
parent
0dfee56e35
commit
6e22a15e43
2 changed files with 5 additions and 1 deletions
|
@ -74,7 +74,7 @@
|
||||||
:bare t
|
:bare t
|
||||||
(if command
|
(if command
|
||||||
(doom--cli-print (doom-cli-get (intern command)))
|
(doom--cli-print (doom-cli-get (intern command)))
|
||||||
(doom--cli-print (doom-cli-get :main))
|
(doom--cli-print (doom-cli-get :doom))
|
||||||
(terpri)
|
(terpri)
|
||||||
(print! (bold "Commands:"))
|
(print! (bold "Commands:"))
|
||||||
(print-group!
|
(print-group!
|
||||||
|
|
|
@ -164,6 +164,10 @@ purpose.")
|
||||||
(command))
|
(command))
|
||||||
doom--cli-commands)))))
|
doom--cli-commands)))))
|
||||||
|
|
||||||
|
(defun doom-cli-internal-p (cli)
|
||||||
|
"Return non-nil if CLI is an internal (non-public) command."
|
||||||
|
(string-prefix-p ":" (doom-cli-name cli)))
|
||||||
|
|
||||||
(defun doom-cli-execute (command &rest args)
|
(defun doom-cli-execute (command &rest args)
|
||||||
"Execute COMMAND (string) with ARGS (list of strings).
|
"Execute COMMAND (string) with ARGS (list of strings).
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue