1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

Update line count totals for psql help displays.

As usual, we've been pretty awful about maintaining these counts.
They're not all that critical, perhaps, but let's get them right
at release time.  Also fix 9.5, which I notice is just as bad.
It's probably wrong further back, but the lack of --help=foo
options before 9.5 makes it too painful to count.
This commit is contained in:
Tom Lane
2016-08-18 16:04:35 -04:00
parent a8fc195052
commit c4f1540d3a

View File

@ -65,7 +65,7 @@ usage(unsigned short int pager)
} }
} }
output = PageOutput(59, pager ? &(pset.popt.topt) : NULL); output = PageOutput(61, pager ? &(pset.popt.topt) : NULL);
fprintf(output, _("psql is the PostgreSQL interactive terminal.\n\n")); fprintf(output, _("psql is the PostgreSQL interactive terminal.\n\n"));
fprintf(output, _("Usage:\n")); fprintf(output, _("Usage:\n"));
@ -159,7 +159,7 @@ slashUsage(unsigned short int pager)
currdb = PQdb(pset.db); currdb = PQdb(pset.db);
output = PageOutput(103, pager ? &(pset.popt.topt) : NULL); output = PageOutput(107, pager ? &(pset.popt.topt) : NULL);
/* if you add/remove a line here, change the row count above */ /* if you add/remove a line here, change the row count above */
@ -306,7 +306,7 @@ helpVariables(unsigned short int pager)
{ {
FILE *output; FILE *output;
output = PageOutput(85, pager ? &(pset.popt.topt) : NULL); output = PageOutput(87, pager ? &(pset.popt.topt) : NULL);
fprintf(output, _("List of specially treated variables\n\n")); fprintf(output, _("List of specially treated variables\n\n"));