Re: Better help output for pgbench -I init_steps - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Better help output for pgbench -I init_steps
Date
Msg-id 20230712134147.zuecn5fgmzbw44at@alvherre.pgsql
Whole thread Raw
In response to Better help output for pgbench -I init_steps  (Gurjeet Singh <gurjeet@singh.im>)
Responses Re: Better help output for pgbench -I init_steps
List pgsql-hackers
On 2023-Jul-12, Gurjeet Singh wrote:

> The init-steps are severely under-documented in pgbench --help output.
> I think at least a pointer to the the pgbench docs should be mentioned
> in the pgbench --help output; an average user may not rush to read the
> code to find the explanation, but a hint to where to find more details
> about what the letters in --init-steps mean, would save them a lot of
> time.

Agreed.

I would do it the way `pg_waldump --rmgr=list` or `psql
--help=variables` are handled: they give you a list of what is
supported.  You don't have to put the list in the main --help output.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"El sentido de las cosas no viene de las cosas, sino de
las inteligencias que las aplican a sus problemas diarios
en busca del progreso." (Ernesto Hernández-Novich)



pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: remaining sql/json patches
Next
From: Robert Haas
Date:
Subject: Re: 'ERROR: attempted to update invisible tuple' from 'ALTER INDEX ... ATTACH PARTITION' on parent index