Merge pull request #2304 from rohitpaulk/fix-empty-help

cli: Handle --help without an argument
This commit is contained in:
Henrik Lissner
2020-01-05 20:10:11 -05:00
committed by GitHub

View File

@ -52,7 +52,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"))
(when (equal (user-real-uid) 0)