File tree Expand file tree Collapse file tree 2 files changed +21
-4
lines changed Expand file tree Collapse file tree 2 files changed +21
-4
lines changed 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.
14
14
You can use the ` vnu.jar ` validator as an executable for command-line validation
15
15
of HTML documents by invoking it like this:
16
16
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
19
20
20
21
To validate one or more HTML documents from the command line:
21
22
@@ -49,6 +50,13 @@ executable provides the following options:
49
50
50
51
default: [unset; the XML parser will attempt to load external entities]
51
52
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
+
52
60
#### --format _ format_
53
61
54
62
Specifies the output format for validation results.
Original file line number Diff line number Diff line change @@ -25,8 +25,9 @@ <h2>Usage</h2>
25
25
< p > You can use the < code > vnu.jar</ code > validator as an executable for
26
26
command-line validation of HTML documents by invoking it like this:
27
27
< 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
30
31
</ pre >
31
32
32
33
< p > To validate one or more HTML documents from the command line:
@@ -65,6 +66,14 @@ <h4 id="entities">--entities</h4>
65
66
default: [unset; the XML parser will attempt to load external entities]
66
67
</ pre >
67
68
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
+
68
77
< h4 id ="format "> --format < var > format</ var > </ h4 >
69
78
< pre >
70
79
Specifies the output format for validation results.
You can’t perform that action at this time.
0 commit comments