tags 224427 patch thanks [EMAIL PROTECTED] BCCed Even though tidy itself doesn't claim to recognize this "-out" option anymore, the manpage still refers to it and probably should be updated to reflect upstream changes.
Please see this transcript | $ tidy -h | grep -- -out | -output <file>, -o write output to the specified <file> | $ man tidy | grep -- -out | Reformatting tidy(1), please wait... | -out or -o <file> specify the output markup file as well as the attached patch for updating the manpage. Cheers, Flo
--- tidy.1.orig 2005-10-19 23:41:04.000000000 +0200 +++ tidy.1 2005-10-20 00:24:04.000000000 +0200 @@ -8,18 +8,19 @@ Utility to clean up and pretty print HTML/XHTML/XML see http://tidy.sourceforge.net/ .PP -Options for HTML Tidy for Linux/x86 released on 1st January 2003: +Options for HTML Tidy for Linux/x86 released on 12th April 2005: .PP File manipulation \fB\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\fR .HP -\fB\-out\fR or \fB\-o\fR <file> specify the output markup file +\fB\-output\fR +or \fB\-o\fR <file> write output to the specified <file> .TP \fB\-config\fR <file> set configuration options from the specified <file> .TP -\fB\-f\fR -<file> write errors to the specified <file> +\fB\-file\fR +or \-f\fR <file> write errors to the specified <file> .TP \fB\-modify\fR or \fB\-m\fR modify the original input files @@ -30,8 +31,8 @@ \fB\-indent\fR or \fB\-i\fR indent element content .TP -\fB\-wrap\fR <column> -wrap text at the specified <column> (default is 68) +\fB\-wrap\fR +or \fB\-w\fR <column> wrap text at the specified <column> (default is 68) .TP \fB\-upper\fR or \fB\-u\fR force tags to upper case (default is lower case) @@ -57,10 +58,7 @@ \fB\-xml\fR specify the input is well formed XML .TP -\fB\-asxml\fR -convert HTML to well formed XHTML -.TP -\fB\-asxhtml\fR +\fB\-asxml\fR or \fB\-asxhtml\fR convert HTML to well formed XHTML .TP \fB\-ashtml\fR @@ -76,10 +74,10 @@ output values above 127 without conversion to entities .TP \fB\-ascii\fR -use US-ASCII for output, ISO-8859-1 for input +use ISO-8859-1 for input, US-ASCII for output .TP \fB\-latin0\fR -use US-ASCII for output, ISO-8859-1 for input +use ISO-8859-15 for input, US-ASCII for output .TP \fB\-latin1\fR use ISO-8859-1 for both input and output @@ -123,12 +121,18 @@ \fB\-version\fR or \fB\-v\fR show the version of Tidy .TP -\fB\-help\fR, \fB\-h\fR or -? +\fB\-help\fR, \fB\-h\fR or \fB\-?\fR list the command line options .TP +\fB\-xml\-help\fR +list the command line options in XML format +.TP \fB\-help\-config\fR list all configuration options .TP +\fB\-xml\-config\fR +list all configuration options in XML format +.TP \fB\-show\-config\fR list the current configuration settings .PP
signature.asc
Description: Digital signature