Index: /trunk/doc/misc/.perltidyrc
===================================================================
--- /trunk/doc/misc/.perltidyrc	(revision 2379)
+++ /trunk/doc/misc/.perltidyrc	(revision 2380)
@@ -1,2 +1,9 @@
+# check the syntax with perl
+-syn
+-pscf=-wc
+
+# use only \n as a line ending
+-ole=unix
+
 # indent 4 spaces
 -i=4
@@ -14,7 +21,4 @@
 -ce
 
-# line up the closing parentheses with the begining of the statement
--lp
-
 # Cish tight containers
 -bt=2
@@ -31,4 +35,10 @@
 -nsfs
 
-# no outdenting long quotes
--nolq
+# no outdenting long lines
+-noll
+
+# don't outdent labels
+-nola
+
+# treat ## as commented code and not a comment
+-sbc
