Updated command-line documentation for consistency.

This commit is contained in:
Eric Traut 2021-11-29 22:31:14 -08:00
parent fbb755036e
commit 28d60e62ae

View File

@ -86,6 +86,4 @@ Each Diagnostic is output in the following format:
Diagnostic line and character numbers are zero-based.
**Note:** Not all diagnostics have an associated diagnostic rule. For example, parse errors are emitted unconditionally and have no associated rule. Diagnostic rules are used only for diagnostics that can be disabled or enabled.
If a rule is associated with the diagnostic, it is included in the output. If it's not, the rule field is omitted from the JSON output. If you are consuming this output, your code should be prepared to handle the case where there is no rule.
Not all diagnostics have an associated diagnostic rule. Diagnostic rules are used only for diagnostics that can be disabled or enabled. If a rule is associated with the diagnostic, it is included in the output. If its not, the rule field is omitted from the JSON output.