mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Merge pull request #2304 from rohitpaulk/fix-empty-help
cli: Handle --help without an argument
This commit is contained in:
3
bin/doom
3
bin/doom
@ -52,7 +52,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"))
|
||||||
|
|
||||||
(when (equal (user-real-uid) 0)
|
(when (equal (user-real-uid) 0)
|
||||||
|
Reference in New Issue
Block a user