1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

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.
This commit is contained in:
Peter Eisentraut
2025-04-29 11:32:49 +02:00
parent dadc58f50a
commit 15b1b4dd3f

View File

@ -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);