Merge pull request #2304 from rohitpaulk/fix-empty-help
cli: Handle --help without an argument
This commit is contained in:
commit
637243a7e8
1 changed files with 2 additions and 1 deletions
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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue