Skip to content

Commit 3fbf095

Browse files
committed
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.
1 parent 1861b20 commit 3fbf095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/psql/help.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ slashUsage(unsigned short int pager)
167167
* Use "psql --help=commands | wc" to count correctly. It's okay to count
168168
* the USE_READLINE line even in builds without that.
169169
*/
170-
output = PageOutput(122, pager ? &(pset.popt.topt) : NULL);
170+
output = PageOutput(124, pager ? &(pset.popt.topt) : NULL);
171171

172172
fprintf(output, _("General\n"));
173173
fprintf(output, _(" \\copyright show PostgreSQL usage and distribution terms\n"));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy