Update line count totals for psql help displays.
authorTom Lane
Thu, 18 Aug 2016 20:04:35 +0000 (16:04 -0400)
committerTom Lane
Thu, 18 Aug 2016 20:04:35 +0000 (16:04 -0400)
As usual, we've been pretty awful about maintaining these counts.
They're not all that critical, perhaps, but let's get them right
at release time.  Also fix 9.5, which I notice is just as bad.
It's probably wrong further back, but the lack of --help=foo
options before 9.5 makes it too painful to count.

src/bin/psql/help.c

index 355af433597acbec38a13782a638970f1cf8f25f..3f97a810811bef454249c1dfc86108df9c4d00aa 100644 (file)
@@ -65,7 +65,7 @@ usage(unsigned short int pager)
        }
    }
 
-   output = PageOutput(59, pager ? &(pset.popt.topt) : NULL);
+   output = PageOutput(61, pager ? &(pset.popt.topt) : NULL);
 
    fprintf(output, _("psql is the PostgreSQL interactive terminal.\n\n"));
    fprintf(output, _("Usage:\n"));
@@ -159,7 +159,7 @@ slashUsage(unsigned short int pager)
 
    currdb = PQdb(pset.db);
 
-   output = PageOutput(103, pager ? &(pset.popt.topt) : NULL);
+   output = PageOutput(107, pager ? &(pset.popt.topt) : NULL);
 
    /* if you add/remove a line here, change the row count above */
 
@@ -306,7 +306,7 @@ helpVariables(unsigned short int pager)
 {
    FILE       *output;
 
-   output = PageOutput(85, pager ? &(pset.popt.topt) : NULL);
+   output = PageOutput(87, pager ? &(pset.popt.topt) : NULL);
 
    fprintf(output, _("List of specially treated variables\n\n"));