Skip to content

Commit 15b1b4d

Browse files
committed
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.
1 parent dadc58f commit 15b1b4d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/bin/pg_dump/pg_restore.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -653,8 +653,7 @@ restore_one_database(const char *inputFileSpec, RestoreOptions *opts,
653653
static void
654654
usage(const char *progname)
655655
{
656-
printf(_("%s restores a PostgreSQL database from an archive created by pg_dump or pg_dumpall.\n"
657-
"If the archive is created by pg_dumpall, then restores multiple databases also.\n\n"), progname);
656+
printf(_("%s restores PostgreSQL databases from archives created by pg_dump or pg_dumpall.\n\n"), progname);
658657
printf(_("Usage:\n"));
659658
printf(_(" %s [OPTION]... [FILE]\n"), progname);
660659

0 commit comments

Comments
 (0)