Skip to content

Commit 8c349ba

Browse files
committed
psql: update --help output for unaligned mode params
Previously it wasn't clear from --help that -F, -R, -z, -0 only controlled psql unaligned output. Initial patch from Jov <amutu@amutu.com>, adjustments by me
1 parent 83ab8e3 commit 8c349ba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/bin/psql/help.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,19 +99,19 @@ usage(void)
9999
printf(_("\nOutput format options:\n"));
100100
printf(_(" -A, --no-align unaligned table output mode\n"));
101101
printf(_(" -F, --field-separator=STRING\n"
102-
" set field separator (default: \"%s\")\n"),
102+
" field separator for unaligned output (default: \"%s\")\n"),
103103
DEFAULT_FIELD_SEP);
104104
printf(_(" -H, --html HTML table output mode\n"));
105105
printf(_(" -P, --pset=VAR[=ARG] set printing option VAR to ARG (see \\pset command)\n"));
106106
printf(_(" -R, --record-separator=STRING\n"
107-
" set record separator (default: newline)\n"));
107+
" record separator for unaligned output (default: newline)\n"));
108108
printf(_(" -t, --tuples-only print rows only\n"));
109109
printf(_(" -T, --table-attr=TEXT set HTML table tag attributes (e.g., width, border)\n"));
110110
printf(_(" -x, --expanded turn on expanded table output\n"));
111111
printf(_(" -z, --field-separator-zero\n"
112-
" set field separator to zero byte\n"));
112+
" set field separator for unaligned output to zero byte\n"));
113113
printf(_(" -0, --record-separator-zero\n"
114-
" set record separator to zero byte\n"));
114+
" set record separator for unaligned output to zero byte\n"));
115115

116116
printf(_("\nConnection options:\n"));
117117
/* Display default host */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy