freebsd-ports/www/tidy-devel/files/patch-console::tidy.c
Alex Dupre ff3cf189a1 Add a NOOP -preserve flag as a workaround to build
FreeBSD docs with tidy-devel.

Approved by:	maintainer
2004-03-12 21:41:19 +00:00

12 lines
543 B
C

--- console/tidy.c.orig Sat Mar 6 08:59:12 2004
+++ console/tidy.c Fri Mar 12 18:16:30 2004
@@ -505,6 +505,9 @@
else if ( strcasecmp(arg, "quiet") == 0 )
tidyOptSetBool( tdoc, TidyQuiet, yes );
+ else if ( strcasecmp(arg, "preserve") == 0 ) /* NOOP for docproj */
+ printf( errout, "Warning: tidy-devel does not honour the -preserve flag\n");
+
else if ( strcasecmp(arg, "help") == 0 ||
strcasecmp(arg, "h") == 0 || *arg == '?' )
{