summaryrefslogtreecommitdiff
path: root/www/tidy-devel/files/patch-console__tidy.c
blob: 740cc772b942bcc6183455a1ac7f3f8a0b58c97d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- console/tidy.c.orig	2008-03-22 20:53:08 UTC
+++ console/tidy.c
@@ -1031,6 +1031,9 @@ int main( int argc, char** argv )
             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 == '?' )
             {