bin/doom: refactor no-args error message
Dumping usage to stdout just drowns out the problem: they forgot a command!
This commit is contained in:
parent
6c5512896a
commit
2637544022
1 changed files with 2 additions and 3 deletions
5
bin/doom
5
bin/doom
|
@ -79,9 +79,8 @@
|
||||||
(member (car args) '("help" "h")))
|
(member (car args) '("help" "h")))
|
||||||
(usage))
|
(usage))
|
||||||
((not args)
|
((not args)
|
||||||
(usage)
|
(message "No command detected, aborting!\n\nRun %s help for documentation."
|
||||||
(message "")
|
(file-name-nondirectory load-file-name)))
|
||||||
(error "No command detected, aborting!"))
|
|
||||||
((let ((default-directory emacs-dir))
|
((let ((default-directory emacs-dir))
|
||||||
(setq argv nil
|
(setq argv nil
|
||||||
noninteractive 'doom)
|
noninteractive 'doom)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue