mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Fix line count in slashUsage().
Counting newlines shows that quite a few recent patches have neglected to update the output-lines count given to PageOutput(). Fortunately it's not terribly critical that this be exact, since we long since exceeded the height of most people's terminal windows. Still, maybe we ought to think of a way to not have to maintain this manually anymore.
This commit is contained in:
@ -165,7 +165,7 @@ slashUsage(unsigned short int pager)
|
|||||||
|
|
||||||
currdb = PQdb(pset.db);
|
currdb = PQdb(pset.db);
|
||||||
|
|
||||||
output = PageOutput(96, pager);
|
output = PageOutput(103, pager);
|
||||||
|
|
||||||
/* if you add/remove a line here, change the row count above */
|
/* if you add/remove a line here, change the row count above */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user