Commit c52670e8 authored by Bruce Momjian's avatar Bruce Momjian

Fix pg_dump help option alignment.

parent 78d40a2a
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.243 2002/03/06 20:48:42 momjian Exp $ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.244 2002/03/21 05:47:14 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -141,71 +141,71 @@ help(const char *progname) ...@@ -141,71 +141,71 @@ help(const char *progname)
#ifdef HAVE_GETOPT_LONG #ifdef HAVE_GETOPT_LONG
puts(gettext( puts(gettext(
" -a, --data-only dump only the data, not the schema\n" " -a, --data-only dump only the data, not the schema\n"
" -b, --blobs include large objects in dump\n" " -b, --blobs include large objects in dump\n"
" -c, --clean clean (drop) schema prior to create\n" " -c, --clean clean (drop) schema prior to create\n"
" -C, --create include commands to create database in dump\n" " -C, --create include commands to create database in dump\n"
" -d, --inserts dump data as INSERT, rather than COPY, commands\n" " -d, --inserts dump data as INSERT, rather than COPY, commands\n"
" -D, --column-inserts dump data as INSERT commands with column names\n" " -D, --column-inserts dump data as INSERT commands with column names\n"
" -f, --file=FILENAME output file name\n" " -f, --file=FILENAME output file name\n"
" -F, --format {c|t|p} output file format (custom, tar, plain text)\n" " -F, --format {c|t|p} output file format (custom, tar, plain text)\n"
" -h, --host=HOSTNAME database server host name\n" " -h, --host=HOSTNAME database server host name\n"
" -i, --ignore-version proceed even when server version mismatches\n" " -i, --ignore-version proceed even when server version mismatches\n"
" pg_dump version\n" " pg_dump version\n"
" -n, --no-quotes suppress most quotes around identifiers\n" " -n, --no-quotes suppress most quotes around identifiers\n"
" -N, --quotes enable most quotes around identifiers\n" " -N, --quotes enable most quotes around identifiers\n"
" -o, --oids include oids in dump\n" " -o, --oids include oids in dump\n"
" -O, --no-owner do not output \\connect commands in plain\n" " -O, --no-owner do not output \\connect commands in plain\n"
" text format\n" " text format\n"
" -p, --port=PORT database server port number\n" " -p, --port=PORT database server port number\n"
" -R, --no-reconnect disable ALL reconnections to the database in\n" " -R, --no-reconnect disable ALL reconnections to the database in\n"
" plain text format\n" " plain text format\n"
" -s, --schema-only dump only the schema, no data\n" " -s, --schema-only dump only the schema, no data\n"
" -S, --superuser=NAME specify the superuser user name to use in\n" " -S, --superuser=NAME specify the superuser user name to use in\n"
" plain text format\n" " plain text format\n"
" -t, --table=TABLE dump this table only (* for all)\n" " -t, --table=TABLE dump this table only (* for all)\n"
" -U, --username=NAME connect as specified database user\n" " -U, --username=NAME connect as specified database user\n"
" -v, --verbose verbose mode\n" " -v, --verbose verbose mode\n"
" -W, --password force password prompt (should happen automatically)\n" " -W, --password force password prompt (should happen automatically)\n"
" -x, --no-privileges do not dump privileges (grant/revoke)\n" " -x, --no-privileges do not dump privileges (grant/revoke)\n"
" -X use-set-session-authorization, --use-set-session-authorization\n" " -X use-set-session-authorization, --use-set-session-authorization\n"
" output SET SESSION AUTHORIZATION commands rather\n" " output SET SESSION AUTHORIZATION commands rather\n"
" than \\connect commands\n" " than \\connect commands\n"
" -Z, --compress {0-9} compression level for compressed formats\n" " -Z, --compress {0-9} compression level for compressed formats\n"
)); ));
#else #else
puts(gettext( puts(gettext(
" -a dump only the data, not the schema\n" " -a dump only the data, not the schema\n"
" -b include large objects in dump\n" " -b include large objects in dump\n"
" -c clean (drop) schema prior to create\n" " -c clean (drop) schema prior to create\n"
" -C include commands to create database in dump\n" " -C include commands to create database in dump\n"
" -d dump data as INSERT, rather than COPY, commands\n" " -d dump data as INSERT, rather than COPY, commands\n"
" -D dump data as INSERT commands with column names\n" " -D dump data as INSERT commands with column names\n"
" -f FILENAME output file name\n" " -f FILENAME output file name\n"
" -F {c|t|p} output file format (custom, tar, plain text)\n" " -F {c|t|p} output file format (custom, tar, plain text)\n"
" -h HOSTNAME database server host name\n" " -h HOSTNAME database server host name\n"
" -i proceed even when server version mismatches\n" " -i proceed even when server version mismatches\n"
" pg_dump version\n" " pg_dump version\n"
" -n suppress most quotes around identifiers\n" " -n suppress most quotes around identifiers\n"
" -N enable most quotes around identifiers\n" " -N enable most quotes around identifiers\n"
" -o include oids in dump\n" " -o include oids in dump\n"
" -O do not output \\connect commands in plain\n" " -O do not output \\connect commands in plain\n"
" text format\n" " text format\n"
" -p PORT database server port number\n" " -p PORT database server port number\n"
" -R disable ALL reconnections to the database in\n" " -R disable ALL reconnections to the database in\n"
" plain text format\n" " plain text format\n"
" -s dump only the schema, no data\n" " -s dump only the schema, no data\n"
" -S NAME specify the superuser user name to use in\n" " -S NAME specify the superuser user name to use in\n"
" plain text format\n" " plain text format\n"
" -t TABLE dump this table only (* for all)\n" " -t TABLE dump this table only (* for all)\n"
" -U NAME connect as specified database user\n" " -U NAME connect as specified database user\n"
" -v verbose mode\n" " -v verbose mode\n"
" -W force password prompt (should happen automatically)\n" " -W force password prompt (should happen automatically)\n"
" -x do not dump privileges (grant/revoke)\n" " -x do not dump privileges (grant/revoke)\n"
" -X use-set-session-authorization\n" " -X use-set-session-authorization\n"
" output SET SESSION AUTHORIZATION commands rather\n" " output SET SESSION AUTHORIZATION commands rather\n"
" than \\connect commands\n" " than \\connect commands\n"
" -Z {0-9} compression level for compressed formats\n" " -Z {0-9} compression level for compressed formats\n"
)); ));
#endif #endif
puts(gettext("If no database name is not supplied, then the PGDATABASE environment\n" puts(gettext("If no database name is not supplied, then the PGDATABASE environment\n"
"variable value is used.\n\n" "variable value is used.\n\n"
...@@ -4081,7 +4081,6 @@ dumpACL(Archive *fout, TableInfo tbinfo) ...@@ -4081,7 +4081,6 @@ dumpACL(Archive *fout, TableInfo tbinfo)
objoid = tbinfo.oid; objoid = tbinfo.oid;
ArchiveEntry(fout, objoid, tbinfo.relname, "ACL", NULL, sql, "", "", "", NULL, NULL); ArchiveEntry(fout, objoid, tbinfo.relname, "ACL", NULL, sql, "", "", "", NULL, NULL);
} }
static void static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment