summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2016-10-07 17:08:11 +0100
committerw0rp <devw0rp@gmail.com>2016-10-07 17:08:11 +0100
commitd97e25a2601d58a1d7e8ae72fb787210f2588a69 (patch)
tree7a1c3c222fb4a85ace9fad7323f509a3af462f54 /doc
parentf0f17e4b0d472dd180c6f4b92aa8c28c550d3f7f (diff)
downloadale-d97e25a2601d58a1d7e8ae72fb787210f2588a69.zip
Support reading from both output streams, and fix PHP error parsing, which sometimes logs to stderr, sometimes stdout.
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index ecb39f32..3788c2ae 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -324,10 +324,12 @@ ALEAddLinter(filetype, linter) *ALEAddLinter()*
`output_stream` A |String| for the output stream the lines of output
should be read from for the command which is run. The
- accepted values are `'stdout'` and `'stderr'`. This
- argument defaults to `'stdout'`. This argument can be
- set for linter programs which output their errors and
- warnings to the stderr stream instead of stdout.
+ accepted values are `'stdout'`, `'stderr'`, and
+ `'both'`. This argument defaults to `'stdout'`. This
+ argument can be set for linter programs which output
+ their errors and warnings to the stderr stream
+ instead of stdout. The option `'both'` will read
+ from both stder and stdout at the same time.
Some programs for checking for errors are not capable of receiving input
from stdin, as is required by ALE. To remedy this, a wrapper script is