Skip to content

Commit e6a76d4

Browse files
committed
Call eask-help-error when the message indicates an error
1 parent 92519ea commit e6a76d4

38 files changed

+40
-40
lines changed

lisp/core/analyze.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,6 @@ Argument LEVEL and MSG are data from the debug log signal."
152152
;; Default, print help!
153153
(t
154154
(eask-info "(No Eask-files have been checked)")
155-
(eask-help "core/analyze"))))
155+
(eask-help-error "core/analyze"))))
156156

157157
;;; core/analyze.el ends here

lisp/core/bump.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
((and (not (member "major" levels))
5151
(not (member "minor" levels))
5252
(not (member "patch" levels)))
53-
(eask-help "core/bump"))
53+
(eask-help-error "core/bump"))
5454
((not (file-exists-p package-file))
5555
(eask-info "(No package file found)"))
5656
(t

lisp/core/compile.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,6 @@ The CMD is the command to start a new Emacs session."
143143
;; Default, print help!
144144
(t
145145
(eask-info "(No files have been compiled)")
146-
(eask-help "core/compile")))))
146+
(eask-help-error "core/compile")))))
147147

148148
;;; core/compile.el ends here

lisp/core/concat.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,6 @@
5656
;; Default, print help!
5757
(t
5858
(eask-info "(No files have been concatenated)")
59-
(eask-help "core/concat")))))
59+
(eask-help-error "core/concat")))))
6060

6161
;;; core/concat.el ends here

lisp/core/docs.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@
7070
;; Default, print help!
7171
(t
7272
(eask-info "(No elisp source can be read)")
73-
(eask-help "core/docs")))))
73+
(eask-help-error "core/docs")))))
7474

7575
;;; core/docs.el ends here

lisp/core/eval.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
(eask-exec-export-env)
2727
(ansi-green "done ✓"))
2828
(eask-info "(No expression found)")
29-
(eask-help "core/eval")))
29+
(eask-help-error "core/eval")))
3030

3131
;;; core/eval.el ends here

lisp/core/exec.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@
4343
(eask-exec-export-env)
4444
(ansi-green "done ✓"))
4545
(eask-info "(No exeuction output)")
46-
(eask-help "core/exec")))
46+
(eask-help-error "core/exec")))
4747

4848
;;; core/exec.el ends here

lisp/core/info.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@
6060
(eask-info--print-deps "dependencies:" eask-depends-on)
6161
(eask-info--print-deps "devDependencies:" eask-depends-on-dev))
6262
(eask-info "(Eask file has no package information)")
63-
(eask-help "core/info")))
63+
(eask-help-error "core/info")))
6464

6565
;;; core/info.el ends here

lisp/core/install.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,6 @@ For argument FILE, please see function `package-install-file' for the details."
9999
(eask-info "(Installed in %s)"
100100
(file-name-directory (locate-library name))))
101101
(eask-info "(No files have been intalled)")
102-
(eask-help "core/install")))))
102+
(eask-help-error "core/install")))))
103103

104104
;;; core/install.el ends here

lisp/core/recipe.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@
4444
(eask-msg "%s" (pp-to-string recipe)))
4545
(eask-msg "")
4646
(eask-info "(Repository URL is required to form a recipe)")
47-
(eask-help "core/recipe")))
47+
(eask-help-error "core/recipe")))
4848

4949
;;; core/recipe.el ends here

0 commit comments

Comments
 (0)