]> git.donarmstrong.com Git - perltidy.git/commitdiff
update docs
authorSteve Hancock <perltidy@users.sourceforge.net>
Fri, 27 Sep 2024 14:14:49 +0000 (07:14 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Fri, 27 Sep 2024 14:14:49 +0000 (07:14 -0700)
bin/perltidy

index d6959c28251efd5a2d026771e30164e21ba0063d..7a42e15fb182b7c15cfffe1682f407344c7a8f1e 100755 (executable)
@@ -3966,6 +3966,16 @@ A B<bare trailing comma> is a comma which is at the end of a line. That is,
 the closing container token follows on a different line.  So a list with a
 bare trailing comma is a special case of a multiline list.
 
+=item *
+
+In fact the above options for trailing commas can be seen as a sequence
+of nesting sets which might be described as
+
+   1 < m < b < i < h < 0
+
+This indicates that multiline commas B<m> are a subset of all trailing commas,
+and bare commas B<b> are a subset of all multiline trailing commas, and so on.
+
 =back
 
 This parameter by itself only indicates where trailing commas are wanted.