Minor refactor & revision across the board

This commit is contained in:
Henrik Lissner
2019-09-03 00:59:17 -04:00
parent 4ce86b06d4
commit 81ee250c09
7 changed files with 13 additions and 10 deletions

View File

@ -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))