perltidy(1p) on Linux
The text f1032051abfd, as Debian 7 (Wheezy) shipped it.
a perl script indenter and reformatter
Flags it lists
-
--add-newlines -
--add-semicolons -
--add-whitespace -
--blanks-before-blocks -
--blanks-before-comments -
--blanks-before-subs -
--block-brace-vertical-tightness -
--brace-left-and-indent -
--brace-left-and-indent-list -
--break-at-old-comma-breakpoints -
--break-at-old-keyword-breakpoints -
--break-at-old-logical-breakpoints -
--break-at-old-ternary-breakpoints -
--check-syntax -
--closing-token-indentation -
--comma-arrow-breakpoints -
--continuation-indentation -
--cuddled-else -
--delete-old-newlines -
--delete-old-whitespace -
--delete-semicolons -
--entab-leading-whitespace -
--fixed-position-side-comment -
--format-skipping -
--format-skipping-begin -
--format-skipping-end -
--freeze-blank-lines -
--freeze-newlines -
--freeze-whitespace -
--gnu-style -
--hanging-side-comments -
--ignore-old-breakpoints -
--indent-block-comments -
--indent-closing-brace -
--indent-closing-paren -
--indent-columns -
--indent-only -
--indent-spaced-block-comments -
--iterations -
--keep-interior-semicolons -
--keep-old-blank-lines -
--maximum-fields-per-table -
--maximum-line-length -
--minimum-space-to-comment -
--noswallow-optional-blank-lines -
--notidy -
--opening-anonymous-sub-brace-on-new-line -
--opening-brace-always-on-right -
--opening-brace-on-new-line -
--opening-sub-brace-on-new-line -
--outdent-keywords -
--outdent-long-comments -
--outdent-long-lines -
--outdent-long-quotes -
--outdent-static-block-comments -
--output-line-ending -
--perl-best-practices -
--preserve-line-endings -
--space-for-semicolon -
--space-terminal-semicolon -
--static-block-comment-prefix -
--static-block-comments -
--static-side-comment-prefix -
--static-side-comments -
--swallow-optional-blank-lines -
--tabs -
-anl -
-asbl -
-asc -
-aws -
-bar -
-bbb -
-bbc -
-bbs -
-bbvt -
-bl -
-bli -
-blil -
-boc -
-bok -
-bol -
-bot -
-cab -
-ce -
-ci -
-cti -
-dnl -
-dsm -
-dws -
-et -
-fbl -
-fnl -
-fpsc -
-fs -
-fsb -
-fse -
-fws -
-gnu -
-hsc -
-i -
-ibc -
-icb -
-icp -
-io -
-iob -
-isbc -
-it -
-kbl -
-kis -
-l -
-mft -
-msc -
-nsob -
-okw -
-olc -
-ole -
-oll -
-olq -
-osbc -
-pbp -
-perl-syntax-check-flags -
-ple -
-pscf -
-sbc -
-sbcp -
-sbl -
-sfs -
-sob -
-ssc -
-sscp -
-sts -
-syn -
-t