2
<cmdline version="6 November 2007">
3
<option class="file-manip">
4
<name>-output <file></name>
5
<name>-o <file></name>
6
<description>write output to the specified <file></description>
7
<eqconfig>output-file: <file></eqconfig>
9
<option class="file-manip">
10
<name>-config <file></name>
11
<description>set configuration options from the specified <file></description>
14
<option class="file-manip">
15
<name>-file <file></name>
16
<name>-f <file></name>
17
<description>write errors and warnings to the specified <file></description>
18
<eqconfig>error-file: <file></eqconfig>
20
<option class="file-manip">
23
<description>modify the original input files</description>
24
<eqconfig>write-back: yes</eqconfig>
26
<option class="process-directives">
29
<description>indent element content</description>
30
<eqconfig>indent: auto</eqconfig>
32
<option class="process-directives">
33
<name>-wrap <column></name>
34
<name>-w <column></name>
35
<description>wrap text at the specified <column>. 0 is assumed if <column> is missing. When this option is omitted, the default of the configuration option "wrap" applies.</description>
36
<eqconfig>wrap: <column></eqconfig>
38
<option class="process-directives">
41
<description>force tags to upper case</description>
42
<eqconfig>uppercase-tags: yes</eqconfig>
44
<option class="process-directives">
47
<description>replace FONT, NOBR and CENTER tags by CSS</description>
48
<eqconfig>clean: yes</eqconfig>
50
<option class="process-directives">
53
<description>strip out smart quotes and em dashes, etc.</description>
54
<eqconfig>bare: yes</eqconfig>
56
<option class="process-directives">
59
<description>output numeric rather than named entities</description>
60
<eqconfig>numeric-entities: yes</eqconfig>
62
<option class="process-directives">
65
<description>show only errors and warnings</description>
66
<eqconfig>markup: no</eqconfig>
68
<option class="process-directives">
71
<description>suppress nonessential output</description>
72
<eqconfig>quiet: yes</eqconfig>
74
<option class="process-directives">
76
<description>omit optional end tags</description>
77
<eqconfig>hide-endtags: yes</eqconfig>
79
<option class="process-directives">
81
<description>specify the input is well formed XML</description>
82
<eqconfig>input-xml: yes</eqconfig>
84
<option class="process-directives">
87
<description>convert HTML to well formed XHTML</description>
88
<eqconfig>output-xhtml: yes</eqconfig>
90
<option class="process-directives">
92
<description>force XHTML to well formed HTML</description>
93
<eqconfig>output-html: yes</eqconfig>
95
<option class="process-directives">
96
<name>-access <level></name>
97
<description>do additional accessibility checks (<level> = 0, 1, 2, 3). 0 is assumed if <level> is missing.</description>
98
<eqconfig>accessibility-check: <level></eqconfig>
100
<option class="char-encoding">
102
<description>output values above 127 without conversion to entities</description>
105
<option class="char-encoding">
107
<description>use ISO-8859-1 for input, US-ASCII for output</description>
110
<option class="char-encoding">
112
<description>use ISO-8859-15 for input, US-ASCII for output</description>
115
<option class="char-encoding">
117
<description>use ISO-8859-1 for both input and output</description>
120
<option class="char-encoding">
121
<name>-iso2022</name>
122
<description>use ISO-2022 for both input and output</description>
125
<option class="char-encoding">
127
<description>use UTF-8 for both input and output</description>
130
<option class="char-encoding">
132
<description>use MacRoman for input, US-ASCII for output</description>
135
<option class="char-encoding">
136
<name>-win1252</name>
137
<description>use Windows-1252 for input, US-ASCII for output</description>
140
<option class="char-encoding">
142
<description>use IBM-858 (CP850+Euro) for input, US-ASCII for output</description>
145
<option class="char-encoding">
146
<name>-utf16le</name>
147
<description>use UTF-16LE for both input and output</description>
150
<option class="char-encoding">
151
<name>-utf16be</name>
152
<description>use UTF-16BE for both input and output</description>
155
<option class="char-encoding">
157
<description>use UTF-16 for both input and output</description>
160
<option class="char-encoding">
162
<description>use Big5 for both input and output</description>
165
<option class="char-encoding">
166
<name>-shiftjis</name>
167
<description>use Shift_JIS for both input and output</description>
170
<option class="char-encoding">
171
<name>-language <lang></name>
172
<description>set the two-letter language code <lang> (for future use)</description>
173
<eqconfig>language: <lang></eqconfig>
175
<option class="misc">
176
<name>-version</name>
178
<description>show the version of Tidy</description>
181
<option class="misc">
185
<description>list the command line options</description>
188
<option class="misc">
189
<name>-xml-help</name>
190
<description>list the command line options in XML format</description>
193
<option class="misc">
194
<name>-help-config</name>
195
<description>list all configuration options</description>
198
<option class="misc">
199
<name>-xml-config</name>
200
<description>list all configuration options in XML format</description>
203
<option class="misc">
204
<name>-show-config</name>
205
<description>list the current configuration settings</description>