From e20aa45d44f59c5f1900696f563df3e12666d5db Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Fri, 27 Sep 2024 07:14:49 -0700 Subject: [PATCH] update docs --- bin/perltidy | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bin/perltidy b/bin/perltidy index d6959c28..7a42e15f 100755 --- a/bin/perltidy +++ b/bin/perltidy @@ -3966,6 +3966,16 @@ A B 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 are a subset of all trailing commas, +and bare commas B are a subset of all multiline trailing commas, and so on. + =back This parameter by itself only indicates where trailing commas are wanted. -- 2.39.5