Skip to content

Commit e13a0ee

Browse files
Updated.
1 parent 9e830eb commit e13a0ee

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ github. The following are instructions on how to use it to validate documents.
1414
You can use the `vnu.jar` validator as an executable for command-line validation
1515
of 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

2021
To 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.

index.html

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@ <h2>Usage</h2>
2525
<p>You can use the <code>vnu.jar</code> validator as an executable for
2626
command-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>
6566
default: [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>
7079
Specifies the output format for validation results.

0 commit comments

Comments
 (0)