cli: Handle --help without an argument

This commit is contained in:
Paul Kuruvilla 2020-01-04 11:32:14 +05:30
parent 6bb597564b
commit 8818f2f7e8

View file

@ -51,7 +51,8 @@ with a different private module."
(setq doom-auto-accept t)
(print! (info "Auto-yes on")))
(when help-p
(push command args)
(when command
(push command args))
(setq command "help"))
;; Reload core in case any of the directories were changed.