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")))
|
||||
(usage))
|
||||
((not args)
|
||||
(usage)
|
||||
(message "")
|
||||
(error "No command detected, aborting!"))
|
||||
(message "No command detected, aborting!\n\nRun %s help for documentation."
|
||||
(file-name-nondirectory load-file-name)))
|
||||
((let ((default-directory emacs-dir))
|
||||
(setq argv nil
|
||||
noninteractive 'doom)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue