mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Improve pg_dump/pg_dumpall help synopses and terminology
Increase consistency of --help and man page synopses between pg_dump and pg_dumpall. These should now be very similar, as pg_dumpall can now also produce non-text dump output. But actually, they had drifted further apart. - Use verb "export" consistently, instead of "dump" or "extract". - Use "SQL script" instead of just "script" or "text file". - Maintain consistent distinction between SQL script and other formats/archives (which is relevant for pg_restore). Reviewed-by: Robert Treat <rob@xzilla.net> Discussion: https://www.postgresql.org/message-id/flat/3f71d8a7-095b-4829-9b0b-fce09e9866b3%40eisentraut.org
This commit is contained in:
@ -1235,7 +1235,7 @@ main(int argc, char **argv)
|
||||
static void
|
||||
help(const char *progname)
|
||||
{
|
||||
printf(_("%s dumps a database as a text file or to other formats.\n\n"), progname);
|
||||
printf(_("%s exports a PostgreSQL database as an SQL script or to other formats.\n\n"), progname);
|
||||
printf(_("Usage:\n"));
|
||||
printf(_(" %s [OPTION]... [DBNAME]\n"), progname);
|
||||
|
||||
|
@ -699,7 +699,7 @@ main(int argc, char *argv[])
|
||||
static void
|
||||
help(void)
|
||||
{
|
||||
printf(_("%s extracts a PostgreSQL database cluster based on specified dump format.\n\n"), progname);
|
||||
printf(_("%s exports a PostgreSQL database cluster as an SQL script or to other formats.\n\n"), progname);
|
||||
printf(_("Usage:\n"));
|
||||
printf(_(" %s [OPTION]...\n"), progname);
|
||||
|
||||
|
Reference in New Issue
Block a user