cli: Handle --help without an argument
This commit is contained in:
parent
6bb597564b
commit
8818f2f7e8
1 changed files with 2 additions and 1 deletions
3
bin/doom
3
bin/doom
|
@ -51,7 +51,8 @@ with a different private module."
|
||||||
(setq doom-auto-accept t)
|
(setq doom-auto-accept t)
|
||||||
(print! (info "Auto-yes on")))
|
(print! (info "Auto-yes on")))
|
||||||
(when help-p
|
(when help-p
|
||||||
(push command args)
|
(when command
|
||||||
|
(push command args))
|
||||||
(setq command "help"))
|
(setq command "help"))
|
||||||
|
|
||||||
;; Reload core in case any of the directories were changed.
|
;; Reload core in case any of the directories were changed.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue