Add test for checking the line length of --help output

Peter Eisentraut <peter@eisentraut.org>

Commit: ffb69b23115a1ca1d81f7e273d50b75154ae7b0b
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2023-10-06T09:56:19Z
Releases: 17.0
Add test for checking the line length of --help output

There was some discussion what the line length should be.  Most output
currently clearly targets around 80 columns, but the maximum in use
currently is 95, so we set that as the current maximum.  This just
ensures that there is some guidance and there are no wild deviations.

based on patch by Atsushi Torikoshi <torikoshia@oss.nttdata.com>

Discussion: https://www.postgresql.org/message-id/flat/50ca8ff35a8dd8f9ec89963b503571a7@oss.nttdata.com

Files

PathChange+/−
src/test/perl/PostgreSQL/Test/Utils.pm modified +9 −0

Discussion