Skip to content

Commit 92519ea

Browse files
committed
Add eask-help-error command
1 parent 5e0ab64 commit 92519ea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lisp/_prepare.el

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1872,6 +1872,11 @@ Arguments FNC and ARGS are used for advice `:around'."
18721872
(eask--help-display)))
18731873
(eask-error "Help manual missing %s" help-file))))
18741874

1875+
(defun eask-help-error (command)
1876+
"Display help for COMMAND and exit with error status."
1877+
(eask-help command)
1878+
(eask--exit))
1879+
18751880
;;
18761881
;;; Checker
18771882

0 commit comments

Comments
 (0)