summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-09-05 16:41:22 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-09-05 16:41:22 -0400
commit3fbf09563f839137e5279a390044a18e400fa074 (patch)
tree1d455202d66e2c4aa9ce68472488e696669062e8
parent1861b20cd63ba3a2e9d547858fc4e05d882531c7 (diff)
Fix psql's --help=commands output line count.
Evidently somebody neglected to update this sometime in the v10 cycle. Patching REL_10_STABLE only; this value is about to be obsolete in HEAD anyway. Noted while examining \gdesc patch.
-rw-r--r--src/bin/psql/help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index b3dbb5946ea..57b826af166 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -167,7 +167,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(122, pager ? &(pset.popt.topt) : NULL);
+ output = PageOutput(124, pager ? &(pset.popt.topt) : NULL);
fprintf(output, _("General\n"));
fprintf(output, _(" \\copyright show PostgreSQL usage and distribution terms\n"));