Fix line count in slashUsage().
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 5 Apr 2013 00:29:46 +0000 (20:29 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 5 Apr 2013 00:29:46 +0000 (20:29 -0400)
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.

src/bin/psql/help.c

index 3c7442a0733162173102bd564bfe5f32a49415f8..379deada4fefece12b3e0da2204f36ebb8ad7c15 100644 (file)
@@ -165,7 +165,7 @@ slashUsage(unsigned short int pager)
 
        currdb = PQdb(pset.db);
 
-       output = PageOutput(96, pager);
+       output = PageOutput(103, pager);
 
        /* if you add/remove a line here, change the row count above */