pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add test for checking the line length of --help output
Date: Fri, 06 Oct 2023 09:57:50 +0000
Message-ID: <E1qohaf-000JpM-Ow@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ffb69b23115a1ca1d81f7e273d50b75154ae7b0b

Modified Files
--------------
src/test/perl/PostgreSQL/Test/Utils.pm | 9 +++++++++
1 file changed, 9 insertions(+)



Message-ID: <E1qohaf-000JpM-Ow@gemulon.postgresql.org>
Permalink:  ../E1qohaf-000JpM-Ow@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qohaf-000JpM-Ow@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add test for checking the line length of --help output
  In-Reply-To: <E1qohaf-000JpM-Ow@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox