From 6fdd6cb14c5dc72ecb2190df9d4eb5ea78e5125a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 2 Jun 2018 02:55:50 +0200 Subject: [PATCH] bin/doom: respond to -h/--help In case people try that before `help` --- bin/doom | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/doom b/bin/doom index e72602c7f..c908e734d 100755 --- a/bin/doom +++ b/bin/doom @@ -43,6 +43,8 @@ ;; Parse options (while (ignore-errors (string-prefix-p "-" (car args))) (pcase (pop args) + ((or "-h" "--help") + (error "Did you mean 'doom help'?")) ((or "-d" "--debug") (setq doom-debug-mode t)) ((or "-p" "--private")