Minor refactor & revision across the board
This commit is contained in:
parent
4ce86b06d4
commit
81ee250c09
7 changed files with 13 additions and 10 deletions
10
bin/doom
10
bin/doom
|
@ -91,11 +91,11 @@
|
|||
(doom-initialize 'force-p)
|
||||
(doom-initialize-modules)
|
||||
|
||||
(cond ((and (not (cdr args))
|
||||
(member (car args) '("help" "h")))
|
||||
(usage))
|
||||
((not args)
|
||||
(print! (error "No command detected.\n"))
|
||||
(cond ((or (not args)
|
||||
(and (not (cdr args))
|
||||
(member (car args) '("help" "h"))))
|
||||
(unless args
|
||||
(print! (error "No command detected.\n")))
|
||||
(usage))
|
||||
((require 'core-cli)
|
||||
(let ((default-directory user-emacs-directory))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue