Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd6e0207

Browse files
committed
Update pgindent Perl indentation instructions based on feedback from
Àlvaro and Noah Misch.Backpatch to 9.2.
1 parent877b55c commitd6e0207

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

‎src/tools/pgindent/README

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,15 @@ This can format all PostgreSQL *.c and *.h files, but excludes *.y, and
4444
pg_ctl start
4545
gmake installcheck-world
4646

47-
9) Indent the Perl MSVC code:
48-
49-
cd src/tools/msvc
50-
perltidy -b -bl -nsfs -naws -l=100 -ole=unix *.pl *.pm
47+
9) Indent the Perl code:
48+
49+
find . -name \*.pl -o -name \*.pm | xargs perltidy \
50+
--backup-and-modify-in-place --opening-brace-on-new-line \
51+
--vertical-tightness=2 --vertical-tightness-closing=2 \
52+
--nospace-after-keyword=for --nospace-for-semicolon \
53+
--add-whitespace --delete-old-whitespace --paren-tightness=2 \
54+
--keep-old-blank-lines=2 --maximum-line-length=78 \
55+
--entab-leading-whitespace=4 --output-line-ending=unix
5156

5257
---------------------------------------------------------------------------
5358

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp