Skip to content

Commit bb55633

Browse files
committed
docs: explain -with-exit flag
1 parent 22d7549 commit bb55633

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

elsa.el

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,15 @@ This function is soft-deprecated in favour of
647647
(setq elsa-cli-with-exit t))
648648

649649
(defun elsa-run ()
650-
"Analyze files and output errors to stdout."
650+
"Analyze files and output errors to stdout.
651+
652+
Elsa supports some optional flags when executed from command
653+
line. These must come before the list of files to be analyzed.
654+
Currently, these flags are supported:
655+
656+
-with-exit => Sets the process exit code to non zero if errors
657+
were reported. This flag exists because flycheck
658+
complains when process exits with non-zero status."
651659
(elsa-load-config)
652660
(let ((errors 0)
653661
(warnings 0)

0 commit comments

Comments
 (0)