diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2025-04-29 11:32:49 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2025-04-29 11:32:49 +0200 |
commit | 15b1b4dd3fccfd2576f44841863153c312de011b (patch) | |
tree | eef3160f08499f7eee2ba3e1952ec5f07370347e /src | |
parent | dadc58f50ac9697907e04422615d79762533496c (diff) | |
download | postgresql-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.c | 3 |
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); |