@@ -180,9 +180,9 @@ slashUsage(unsigned short int pager)
180
180
181
181
fprintf (output ,_ ("Help\n" ));
182
182
183
- fprintf (output ,_ (" \\? [commands]description of all psql backslash commands\n" ));
184
- fprintf (output ,_ (" \\? optionsdescription of all psqlcommandline options\n" ));
185
- fprintf (output ,_ (" \\? variablesdescription of all psql configuration variables\n" ));
183
+ fprintf (output ,_ (" \\? [commands]show help on backslash commands\n" ));
184
+ fprintf (output ,_ (" \\? optionsshow help on psqlcommand-line options\n" ));
185
+ fprintf (output ,_ (" \\? variablesshow help on special variables\n" ));
186
186
fprintf (output ,_ (" \\h [NAME] help on syntax of SQL commands, * for all commands\n" ));
187
187
fprintf (output ,"\n" );
188
188
@@ -323,76 +323,76 @@ helpVariables(unsigned short int pager)
323
323
*/
324
324
output = PageOutput (87 ,pager ?& (pset .popt .topt ) :NULL );
325
325
326
- fprintf (output ,_ ("List of specially treated variables. \n" ));
326
+ fprintf (output ,_ ("List of specially treated variables\n \n" ));
327
327
328
328
fprintf (output ,_ ("psql variables:\n" ));
329
329
fprintf (output ,_ ("Usage:\n" ));
330
- fprintf (output ,_ (" psql --set=NAME=VALUE\n or \\set NAME VALUEin interactive mode \n\n" ));
330
+ fprintf (output ,_ (" psql --set=NAME=VALUE\n or \\set NAME VALUEinside psql \n\n" ));
331
331
332
332
fprintf (output ,_ (" AUTOCOMMIT if set, successful SQL commands are automatically committed\n" ));
333
- fprintf (output ,_ (" COMP_KEYWORD_CASEdetermine the case used to complete SQLkeywords \n"
333
+ fprintf (output ,_ (" COMP_KEYWORD_CASEdetermines the case used to complete SQLkey words \n"
334
334
" [lower, upper, preserve-lower, preserve-upper]\n" ));
335
335
fprintf (output ,_ (" DBNAME the currently connected database name\n" ));
336
- fprintf (output ,_ (" ECHOcontrol what input is written to standard output\n"
336
+ fprintf (output ,_ (" ECHOcontrols what input is written to standard output\n"
337
337
" [all, errors, none, queries]\n" ));
338
- fprintf (output ,_ (" ECHO_HIDDEN display internal queries executed by backslash commands when it is set \n"
339
- "or with [ noexec] just show without execution\n" ));
338
+ fprintf (output ,_ (" ECHO_HIDDENif set, display internal queries executed by backslash commands; \n"
339
+ "if set to \" noexec\", just show without execution\n" ));
340
340
fprintf (output ,_ (" ENCODING current client character set encoding\n" ));
341
341
fprintf (output ,_ (" FETCH_COUNT the number of result rows to fetch and display at a time\n"
342
342
" (default: 0=unlimited)\n" ));
343
- fprintf (output ,_ (" HISTCONTROLcontrol history list [ignorespace, ignoredups, ignoreboth]\n" ));
344
- fprintf (output ,_ (" HISTFILE file name used to store thehistory list \n" ));
343
+ fprintf (output ,_ (" HISTCONTROLcontrols command history [ignorespace, ignoredups, ignoreboth]\n" ));
344
+ fprintf (output ,_ (" HISTFILE file name used to store thecommand history \n" ));
345
345
fprintf (output ,_ (" HISTSIZE the number of commands to store in the command history\n" ));
346
- fprintf (output ,_ (" HOST the currently connected database server\n" ));
346
+ fprintf (output ,_ (" HOST the currently connected database server host \n" ));
347
347
fprintf (output ,_ (" IGNOREEOF if unset, sending an EOF to interactive session terminates application\n" ));
348
- fprintf (output ,_ (" LASTOIDthe value of last affected OID\n" ));
349
- fprintf (output ,_ (" ON_ERROR_ROLLBACK if set, an error doesn't stop a transaction (uses implicitSAVEPOINTs )\n" ));
348
+ fprintf (output ,_ (" LASTOID value of the last affected OID\n" ));
349
+ fprintf (output ,_ (" ON_ERROR_ROLLBACK if set, an error doesn't stop a transaction (uses implicitsavepoints )\n" ));
350
350
fprintf (output ,_ (" ON_ERROR_STOP stop batch execution after error\n" ));
351
351
fprintf (output ,_ (" PORT server port of the current connection\n" ));
352
- fprintf (output ,_ (" PROMPT1specify the standard psql prompt\n" ));
353
- fprintf (output ,_ (" PROMPT2specify the prompt used when a statement continues from a previous line\n" ));
354
- fprintf (output ,_ (" PROMPT3specify the prompt used during COPY ... FROM STDIN\n" ));
352
+ fprintf (output ,_ (" PROMPT1specifies the standard psql prompt\n" ));
353
+ fprintf (output ,_ (" PROMPT2specifies the prompt used when a statement continues from a previous line\n" ));
354
+ fprintf (output ,_ (" PROMPT3specifies the prompt used during COPY ... FROM STDIN\n" ));
355
355
fprintf (output ,_ (" QUIET run quietly (same as -q option)\n" ));
356
- fprintf (output ,_ (" SHOW_CONTEXTcontrol display of message context fields [never, errors, always]\n" ));
356
+ fprintf (output ,_ (" SHOW_CONTEXTcontrols display of message context fields [never, errors, always]\n" ));
357
357
fprintf (output ,_ (" SINGLELINE end of line terminates SQL command mode (same as -S option)\n" ));
358
358
fprintf (output ,_ (" SINGLESTEP single-step mode (same as -s option)\n" ));
359
359
fprintf (output ,_ (" USER the currently connected database user\n" ));
360
- fprintf (output ,_ (" VERBOSITYcontrol verbosity of error reports [default, verbose, terse]\n" ));
360
+ fprintf (output ,_ (" VERBOSITYcontrols verbosity of error reports [default, verbose, terse]\n" ));
361
361
362
- fprintf (output ,_ ("\nDisplayinfluencing variables :\n" ));
362
+ fprintf (output ,_ ("\nDisplaysettings :\n" ));
363
363
fprintf (output ,_ ("Usage:\n" ));
364
- fprintf (output ,_ (" psql --pset=NAME[=VALUE]\n or \\pset NAME [VALUE]in interactive mode \n\n" ));
364
+ fprintf (output ,_ (" psql --pset=NAME[=VALUE]\n or \\pset NAME [VALUE]inside psql \n\n" ));
365
365
366
366
fprintf (output ,_ (" border border style (number)\n" ));
367
- fprintf (output ,_ (" columnsset the target width for the wrapped format\n" ));
368
- fprintf (output ,_ (" expanded (or x)toggle expanded output\n" ));
369
- fprintf (output ,_ (" fieldsep field separator for unaligned output (default'|' )\n" ));
370
- fprintf (output ,_ (" fieldsep_zero set field separatorin unalignedmode to zero\n" ));
367
+ fprintf (output ,_ (" columns target width for the wrapped format\n" ));
368
+ fprintf (output ,_ (" expanded (or x) expanded output [on, off, auto] \n" ));
369
+ fprintf (output ,_ (" fieldsep field separator for unaligned output (default\"%s\" )\n" ), DEFAULT_FIELD_SEP );
370
+ fprintf (output ,_ (" fieldsep_zero set field separatorfor unalignedoutput to zero byte \n" ));
371
371
fprintf (output ,_ (" format set output format [unaligned, aligned, wrapped, html, asciidoc, ...]\n" ));
372
372
fprintf (output ,_ (" footer enable or disable display of the table footer [on, off]\n" ));
373
373
fprintf (output ,_ (" linestyle set the border line drawing style [ascii, old-ascii, unicode]\n" ));
374
374
fprintf (output ,_ (" null set the string to be printed in place of a null value\n" ));
375
375
fprintf (output ,_ (" numericlocale enable or disable display of a locale-specific character to separate\n"
376
376
" groups of digits [on, off]\n" ));
377
377
fprintf (output ,_ (" pager control when an external pager is used [yes, no, always]\n" ));
378
- fprintf (output ,_ (" recordsepspecify the record (line) separatorto use in unaligned output format \n" ));
379
- fprintf (output ,_ (" recordsep_zero setthe record separatorto use in unaligned outputformat toa zero byte. \n" ));
378
+ fprintf (output ,_ (" recordsep record (line) separatorfor unaligned output\n" ));
379
+ fprintf (output ,_ (" recordsep_zero set record separatorfor unaligned output to zero byte\n" ));
380
380
fprintf (output ,_ (" tableattr (or T) specify attributes for table tag in html format or proportional\n"
381
- " columnwidth of left aligned datatype in latex format\n" ));
381
+ " columnwidths for left- aligned datatypes in latex-longtable format\n" ));
382
382
fprintf (output ,_ (" title set the table title for any subsequently printed tables\n" ));
383
383
fprintf (output ,_ (" tuples_only if set, only actual table data is shown\n" ));
384
- fprintf (output ,_ (" unicode_border_linestyle\n" ));
385
- fprintf ( output , _ ( " unicode_column_linestyle\n" ));
386
- fprintf ( output , _ ( " unicode_header_linestyle\n"
387
- " set the style ofunicode line drawing [single, double]\n" ));
384
+ fprintf (output ,_ (" unicode_border_linestyle\n"
385
+ " unicode_column_linestyle\n"
386
+ " unicode_header_linestyle\n"
387
+ " set the style ofUnicode line drawing [single, double]\n" ));
388
388
389
389
fprintf (output ,_ ("\nEnvironment variables:\n" ));
390
390
fprintf (output ,_ ("Usage:\n" ));
391
391
392
392
#ifndef WIN32
393
- fprintf (output ,_ (" NAME=VALUE [NAME=VALUE] psql ...\n or \\setenv NAME [VALUE]in interactive mode \n\n" ));
393
+ fprintf (output ,_ (" NAME=VALUE [NAME=VALUE] psql ...\n or \\setenv NAME [VALUE]inside psql \n\n" ));
394
394
#else
395
- fprintf (output ,_ (" set NAME=VALUE\n psql ...\n or \\setenv NAME VALUE in interactive mode \n\n" ));
395
+ fprintf (output ,_ (" set NAME=VALUE\n psql ...\n or \\setenv NAME[ VALUE] inside psql \n\n" ));
396
396
#endif
397
397
398
398
fprintf (output ,_ (" COLUMNS number of columns for wrapped format\n" ));