Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+1-1
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)