aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2025-04-29 11:32:49 +0200
committerPeter Eisentraut <peter@eisentraut.org>2025-04-29 11:32:49 +0200
commit15b1b4dd3fccfd2576f44841863153c312de011b (patch)
treeeef3160f08499f7eee2ba3e1952ec5f07370347e /src
parentdadc58f50ac9697907e04422615d79762533496c (diff)
downloadpostgresql-15b1b4dd3fccfd2576f44841863153c312de011b.tar.gz
postgresql-15b1b4dd3fccfd2576f44841863153c312de011b.zip
pg_restore: Improve --help synopsis
The --help synopsis should only be one line. This rephrases the first line a bit to reflect the new functionality of restoring multiple databases from pg_dumpall output. Additional explanations are better kept in the man page.
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_dump/pg_restore.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/pg_dump/pg_restore.c b/src/bin/pg_dump/pg_restore.c
index 2b69ae1f91f..f2182e91825 100644
--- a/src/bin/pg_dump/pg_restore.c
+++ b/src/bin/pg_dump/pg_restore.c
@@ -653,8 +653,7 @@ restore_one_database(const char *inputFileSpec, RestoreOptions *opts,
static void
usage(const char *progname)
{
- printf(_("%s restores a PostgreSQL database from an archive created by pg_dump or pg_dumpall.\n"
- "If the archive is created by pg_dumpall, then restores multiple databases also.\n\n"), progname);
+ printf(_("%s restores PostgreSQL databases from archives created by pg_dump or pg_dumpall.\n\n"), progname);
printf(_("Usage:\n"));
printf(_(" %s [OPTION]... [FILE]\n"), progname);