File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 3
3
*
4
4
* Copyright 2000 by PostgreSQL Global Development Group
5
5
*
6
- * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.25 2000/04/12 17:16:22 momjian Exp $
6
+ * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.26 2000/04/24 22:41:43 momjian Exp $
7
7
*/
8
8
#include "postgres.h"
9
9
#include "help.h"
@@ -265,13 +265,14 @@ helpSQL(const char *topic)
265
265
266
266
for (i = 0 ; i < items_per_column ; i ++ )
267
267
{
268
- printf (" %-25s%-25s%-25s\n" ,
269
- VALUE_OR_NULL (QL_HELP [i ].cmd ),
270
- VALUE_OR_NULL (QL_HELP [i + items_per_column ].cmd ),
271
- VALUE_OR_NULL (QL_HELP [i + 2 * items_per_column ].cmd )
272
- );
268
+ printf (" %-25s%-25s" ,
269
+ VALUE_OR_NULL (QL_HELP [i ].cmd ),
270
+ VALUE_OR_NULL (QL_HELP [i + items_per_column ].cmd ));
271
+ if (i + 2 * items_per_column < QL_HELP_COUNT )
272
+ printf ("%-25s" ,
273
+ VALUE_OR_NULL (QL_HELP [i + 2 * items_per_column ].cmd ));
274
+ fputc ('\n' , stdout );
273
275
}
274
- putc ('\n' , stdout );
275
276
}
276
277
277
278
else
You can’t perform that action at this time.
0 commit comments