Commit e84b8ff9 authored by Björn Rabenstein's avatar Björn Rabenstein

Merge pull request #61 from fabxc/rule_checker

Adjust rule checker docs to changed behavior
parents ccd96a48 54767802
...@@ -25,10 +25,12 @@ rule_checker -ruleFile=/path/to/example.rules ...@@ -25,10 +25,12 @@ rule_checker -ruleFile=/path/to/example.rules
``` ```
When the file is syntactically valid, the checker prints a textual When the file is syntactically valid, the checker prints a textual
representation of the parsed rules and then exits with an `0` return status. representation of the parsed rules to standard output and then exits with
a `0` return status.
If there are any syntax errors, it prints an error message and exits with a If there are any syntax errors, it prints an error message to standard error
`255` return status. and exits with a `1` return status. On invalid input arguments the exit status
is `2`.
## Recording rules ## Recording rules
Recording rules allow you to precompute frequently needed or computationally Recording rules allow you to precompute frequently needed or computationally
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment