From: Peter Eisentraut Date: Tue, 29 Apr 2025 08:59:05 +0000 (+0200) Subject: pg_restore: Put new option in consistent order in --help output X-Git-Tag: REL_18_BETA1~61 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dadc58f50ac9697907e04422615d79762533496c;p=thirdparty%2Fpostgresql.git pg_restore: Put new option in consistent order in --help output Also make the description a bit more consistent with similar options. --- diff --git a/src/bin/pg_dump/pg_restore.c b/src/bin/pg_dump/pg_restore.c index 72916199e13..2b69ae1f91f 100644 --- a/src/bin/pg_dump/pg_restore.c +++ b/src/bin/pg_dump/pg_restore.c @@ -685,11 +685,11 @@ usage(const char *progname) printf(_(" -S, --superuser=NAME superuser user name to use for disabling triggers\n")); printf(_(" -t, --table=NAME restore named relation (table, view, etc.)\n")); printf(_(" -T, --trigger=NAME restore named trigger\n")); - printf(_(" --exclude-database=PATTERN exclude databases whose name matches with pattern\n")); printf(_(" -x, --no-privileges skip restoration of access privileges (grant/revoke)\n")); printf(_(" -1, --single-transaction restore as a single transaction\n")); printf(_(" --disable-triggers disable triggers during data-only restore\n")); printf(_(" --enable-row-security enable row security\n")); + printf(_(" --exclude-database=PATTERN do not restore the specified database(s)\n")); printf(_(" --filter=FILENAME restore or skip objects based on expressions\n" " in FILENAME\n")); printf(_(" --if-exists use IF EXISTS when dropping objects\n"));