public inbox for [email protected]  
help / color / mirror / Atom feed
From: Daniel Gustafsson <[email protected]>
To: David Rowley <[email protected]>
Cc: Alvaro Herrera <[email protected]>
Cc: Peter Geoghegan <[email protected]>
Cc: PostgreSQL Developers <[email protected]>
Subject: Re: Should we put command options in alphabetical order in the doc?
Date: Thu, 20 Apr 2023 14:57:46 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAApHDvp6FijJyoDfSOALPPN6Y2Ycv6tGoo_QqEVLyyPqDekNnw@mail.gmail.com>
References: <CAH2-WzmcG1V14d=F7YF0gwEYh0xQE0BVvsO7SwDB9sgx2pBAYA@mail.gmail.com>
	<[email protected]>
	<CAApHDvp6FijJyoDfSOALPPN6Y2Ycv6tGoo_QqEVLyyPqDekNnw@mail.gmail.com>

> On 20 Apr 2023, at 14:40, David Rowley <[email protected]> wrote:

> I see "man grep" categorises the command line options and then sorts
> alphabetically within the category.


On FreeBSD and macOS "man grep" lists all options alphabetically.

> FWIW, vacuumdb --help has its options in alphabetical order using the
> abbreviated form of the option.

It does (as most of our binaries do) group "Connection options" separately
though, and in initdb --help and pg_dump --help we have other groupings as
well.

--
Daniel Gustafsson







view thread (3+ messages)  latest in thread

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: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Should we put command options in alphabetical order in the doc?
  In-Reply-To: <[email protected]>

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

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