We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22d7549 commit bb55633Copy full SHA for bb55633
elsa.el
@@ -647,7 +647,15 @@ This function is soft-deprecated in favour of
647
(setq elsa-cli-with-exit t))
648
649
(defun elsa-run ()
650
- "Analyze files and output errors to stdout."
+ "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."
659
(elsa-load-config)
660
(let ((errors 0)
661
(warnings 0)
0 commit comments