From 08a453bd5ef76c3b00d33447efd8cf3250287248 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 2 Jun 2018 02:56:18 +0200 Subject: [PATCH] bin/doom: show usage info if no command is entered --- bin/doom | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/doom b/bin/doom index c908e734d..08e6c5959 100755 --- a/bin/doom +++ b/bin/doom @@ -68,7 +68,9 @@ (member (car args) '("help" "h"))) (usage)) ((not args) - (error "Expecting a command")) + (usage) + (message "") + (error "No command detected, aborting!")) ((let ((default-directory user-emacs-directory)) (setq argv nil noninteractive 'doom)