mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
bin/doom: show usage info if no command is entered
This commit is contained in:
4
bin/doom
4
bin/doom
@ -68,7 +68,9 @@
|
|||||||
(member (car args) '("help" "h")))
|
(member (car args) '("help" "h")))
|
||||||
(usage))
|
(usage))
|
||||||
((not args)
|
((not args)
|
||||||
(error "Expecting a command"))
|
(usage)
|
||||||
|
(message "")
|
||||||
|
(error "No command detected, aborting!"))
|
||||||
((let ((default-directory user-emacs-directory))
|
((let ((default-directory user-emacs-directory))
|
||||||
(setq argv nil
|
(setq argv nil
|
||||||
noninteractive 'doom)
|
noninteractive 'doom)
|
||||||
|
Reference in New Issue
Block a user