2014-09-10 3:04 GMT+02:00 Andres Freund <[email protected]>: > 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= > [email protected], > > cafj8pra54abtv2rxdtrxiad8hy8wxmovlqhjdrcwenhdd7o...@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 ([email protected]) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-committers >
