From 927e1dc96ce3eb4a618fd7b67f69eec72b56d850 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 4 Apr 2013 20:29:46 -0400 Subject: [PATCH] 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. --- src/bin/psql/help.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.5