aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-08-18 16:04:35 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-08-18 16:04:35 -0400
commitc5d4f40cb5e231eb2cbc533b5f094f3a4829e2ef (patch)
tree354aff2cc2cba9536d28748bd0311282a92029e0 /src
parent5697522d8411135d26a5d807f9e4afa182502f64 (diff)
downloadpostgresql-c5d4f40cb5e231eb2cbc533b5f094f3a4829e2ef.tar.gz
postgresql-c5d4f40cb5e231eb2cbc533b5f094f3a4829e2ef.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/bin/psql/help.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index efc845414fb..a69c4dd8cfe 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -69,7 +69,7 @@ usage(unsigned short int pager)
* Keep this line count in sync with the number of lines printed below!
* Use "psql --help=options | wc" to count correctly.
*/
- output = PageOutput(60, 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, _("Usage:\n"));
@@ -168,7 +168,7 @@ slashUsage(unsigned short int pager)
* Use "psql --help=commands | wc" to count correctly. It's okay to count
* the USE_READLINE line even in builds without that.
*/
- output = PageOutput(111, pager ? &(pset.popt.topt) : NULL);
+ output = PageOutput(113, pager ? &(pset.popt.topt) : NULL);
fprintf(output, _("General\n"));
fprintf(output, _(" \\copyright show PostgreSQL usage and distribution terms\n"));
@@ -325,7 +325,7 @@ helpVariables(unsigned short int pager)
* Windows builds currently print one more line than non-Windows builds.
* Using the larger number is fine.
*/
- output = PageOutput(87, pager ? &(pset.popt.topt) : NULL);
+ output = PageOutput(88, pager ? &(pset.popt.topt) : NULL);
fprintf(output, _("List of specially treated variables\n\n"));