File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,8 +14,9 @@ github. The following are instructions on how to use it to validate documents.
1414You can use the ` vnu.jar ` validator as an executable for command-line validation
1515of HTML documents by invoking it like this:
1616
17- java -jar ~/vnu.jar [--help] [--html] [--entities] [--schema URL]
18- [--format gnu|xml|json|text] [--no-stream] [--verbose] [--version] FILES
17+ java -jar ~/vnu.jar [--entities] [--errors-only] [--no-stream]
18+ [--format gnu|xml|json|text] [--help] [--html] [--schema URL]
19+ [--verbose] [--version] FILES
1920
2021To validate one or more HTML documents from the command line:
2122
@@ -49,6 +50,13 @@ executable provides the following options:
4950
5051 default: [unset; the XML parser will attempt to load external entities]
5152
53+ #### --errors-only
54+
55+ Specifies that only error-level messages and non-document-error messages are
56+ reported.
57+
58+ default: [unset; all message reported, including info- and warning-level]
59+
5260#### --format _ format_
5361
5462 Specifies the output format for validation results.
Original file line number Diff line number Diff line change @@ -25,8 +25,9 @@ <h2>Usage</h2>
2525< p > You can use the < code > vnu.jar</ code > validator as an executable for
2626command-line validation of HTML documents by invoking it like this:
2727< pre >
28- java -jar ~/vnu.jar [--help] [--html] [--entities] [--schema URL]
29- [--format gnu|xml|json|text] [--no-stream] [--verbose] [--version] FILES
28+ java -jar ~/vnu.jar [--entities] [--errors-only] [--no-stream]
29+ [--format gnu|xml|json|text] [--help] [--html]
30+ [--schema URL] [--verbose] [--version] FILES
3031</ pre >
3132
3233< p > To validate one or more HTML documents from the command line:
@@ -65,6 +66,14 @@ <h4 id="entities">--entities</h4>
6566default: [unset; the XML parser will attempt to load external entities]
6667</ pre >
6768
69+ < h4 id ="errors-only "> --errors-only</ h4 >
70+ < pre >
71+ Specifies that only error-level messages and non-document-error messages
72+ are reported.
73+
74+ default: [unset; all message reported, including info- and warning-level]
75+ </ pre >
76+
6877< h4 id ="format "> --format < var > format</ var > </ h4 >
6978< pre >
7079Specifies the output format for validation results.
You can’t perform that action at this time.
0 commit comments