Add test for checking the line length of --help output
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 6 Oct 2023 09:52:05 +0000 (11:52 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 6 Oct 2023 09:56:19 +0000 (11:56 +0200)
commitffb69b23115a1ca1d81f7e273d50b75154ae7b0b
tree7dc30f2268053b0f1c38a1d46a91ef76bfb663fb
parentb4336515b0803b83a4d8f102006986e5863d2c49
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
src/test/perl/PostgreSQL/Test/Utils.pm