Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc5d4f40

Browse files
committed
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 rightat release time. Also fix 9.5, which I notice is just as bad.It's probably wrong further back, but the lack of --help=foooptions before 9.5 makes it too painful to count.
1 parent5697522 commitc5d4f40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/bin/psql/help.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ usage(unsigned short int pager)
6969
* Keep this line count in sync with the number of lines printed below!
7070
* Use "psql --help=options | wc" to count correctly.
7171
*/
72-
output=PageOutput(60,pager ?&(pset.popt.topt) :NULL);
72+
output=PageOutput(61,pager ?&(pset.popt.topt) :NULL);
7373

7474
fprintf(output,_("psql is the PostgreSQL interactive terminal.\n\n"));
7575
fprintf(output,_("Usage:\n"));
@@ -168,7 +168,7 @@ slashUsage(unsigned short int pager)
168168
* Use "psql --help=commands | wc" to count correctly. It's okay to count
169169
* the USE_READLINE line even in builds without that.
170170
*/
171-
output=PageOutput(111,pager ?&(pset.popt.topt) :NULL);
171+
output=PageOutput(113,pager ?&(pset.popt.topt) :NULL);
172172

173173
fprintf(output,_("General\n"));
174174
fprintf(output,_(" \\copyright show PostgreSQL usage and distribution terms\n"));
@@ -325,7 +325,7 @@ helpVariables(unsigned short int pager)
325325
* Windows builds currently print one more line than non-Windows builds.
326326
* Using the larger number is fine.
327327
*/
328-
output=PageOutput(87,pager ?&(pset.popt.topt) :NULL);
328+
output=PageOutput(88,pager ?&(pset.popt.topt) :NULL);
329329

330330
fprintf(output,_("List of specially treated variables\n\n"));
331331

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp