Re: pgsql: Add new psql help topics, accessible to both --help and \?.
От | Pavel Stehule |
---|---|
Тема | Re: pgsql: Add new psql help topics, accessible to both --help and \?. |
Дата | |
Msg-id | CAFj8pRBr8oqngwiWzU_x+VDmjXEMb50aTpAMuWhbSVhTjVufEg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: pgsql: Add new psql help topics, accessible to both --help and \?. (Andres Freund <andres@anarazel.de>) |
Список | pgsql-committers |
2014-09-10 3:04 GMT+02:00 Andres Freund <andres@anarazel.de>:
+1
On 2014-09-09 22:12:35 +0000, Andres Freund wrote:
> Add new psql help topics, accessible to both --help and \?.
>
> Add --help=<topic> for the commandline, and \? <topic> as a backslash
> command, to show more help than the invocations without parameters
> do. "commands", "variables" and "options" currently exist as help
> topics describing, respectively, backslash commands, psql variables,
> and commandline switches. Without parameters the help commands show
> their previous topic.
>
> Some further wordsmithing or extending of the added help content might
> be needed; but there seems little benefit delaying the overall feature
> further.
>
> Author: Pavel Stehule, editorialized by many
>
> Reviewed-By: Andres Freund, Petr Jelinek, Fujii Masao, MauMau, Abhijit
> Menon-Sen and Erik Rijkers.
>
> Discussion: CAFj8pRDVGuC-nXBfe2CK8vpyzd2Dsr9GVpbrATAnZO=2YQ0s2Q@mail.gmail.com,
> CAFj8pRA54AbTv2RXDTRxiAd8hy8wxmoVLqhJDRCwEnhdd7OUkw@mail.gmail.com
Hm. This fails on windows right now because the getopt_long() fallback
implementation doesn't implement optional_argument. Unless people think
this can be broken for a day or somebody has a better solution, I'll
revert tomorrow morning.
The best plan after that seems to be to add optional_argument support to
getopt_long.c - looks easy enough.
+1
Pavel
Do we need a configure test for
optional_argument? I don't think so, but I could see somebody arguing
the other way round.
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
В списке pgsql-committers по дате отправления: