Re: [PATCH] add long options to pgbench (submission 1)

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: [PATCH] add long options to pgbench (submission 1)
Дата
Msg-id CAHGQGwGLr8WkTY_O49HwGacbNPGdpGw=mj2iCQNY9e-iB=+dCQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] add long options to pgbench (submission 1)  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: [PATCH] add long options to pgbench (submission 1)  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Thu, Jun 27, 2013 at 10:02 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Tue, Jun 25, 2013 at 3:09 PM, Fabien COELHO <coelho@cri.ensmp.fr> wrote:
>>> I think --quiet-log should be spelled --quiet.
>>
>> ISTM that --quiet usually means "not verbose on stdout", so I added log
>> because this was specific to the log output, and that there may be a need
>> for a --quiet option for stdout at some time.
>
> The output that is quieted by -q is not the log output produced by
> --log; it's the regular progress output on stdout/stderr.
>
> So I changed that, and committed this, with some further cosmetic
> changes.  I made the formatting of the help message more like psql's
> help message, including adjusting pgbench to start the description of
> each option in the same column that psql does.  This got rid of a lot
> of line breaks and IMHO makes the output of pgbench --help quite a bit
> more readable.  I made stylistic adjustments to the documentation
> portion of the patch as well, again to match the markup used for psql.

In help messages:

+          "  -s NUM, --scale NUM      scaling factor\n"

This should be "-s, --scale=NUM" for the sake of consistency with other
options.

Regards,

-- 
Fujii Masao



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Antonin Houska
Дата:
Сообщение: Re: GIN improvements part 1: additional information
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Move unused buffers to freelist