From 8818f2f7e8d4cf83d65ac09c658ada148cba70ac Mon Sep 17 00:00:00 2001 From: Paul Kuruvilla Date: Sat, 4 Jan 2020 11:32:14 +0530 Subject: [PATCH] cli: Handle --help without an argument --- bin/doom | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/doom b/bin/doom index 834e56afd..2b0e5086d 100755 --- a/bin/doom +++ b/bin/doom @@ -51,7 +51,8 @@ with a different private module." (setq doom-auto-accept t) (print! (info "Auto-yes on"))) (when help-p - (push command args) + (when command + (push command args)) (setq command "help")) ;; Reload core in case any of the directories were changed.