diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2013-04-04 20:29:46 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2013-04-04 20:29:46 -0400 |
commit | 927e1dc96ce3eb4a618fd7b67f69eec72b56d850 (patch) | |
tree | b71d20af2dbe308f03709fe83a2b4ba278ccaf09 /src/bin/psql/help.c | |
parent | c6a3fce7dd4dae6e1a005e5b09cdd7c1d7f9c4f4 (diff) | |
download | postgresql-927e1dc96ce3eb4a618fd7b67f69eec72b56d850.tar.gz postgresql-927e1dc96ce3eb4a618fd7b67f69eec72b56d850.zip |
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.
Diffstat (limited to 'src/bin/psql/help.c')
-rw-r--r-- | src/bin/psql/help.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index 3c7442a0733..379deada4fe 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -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 */ |