Skip to content

Commit dadc58f

Browse files
committed
pg_restore: Put new option in consistent order in --help output
Also make the description a bit more consistent with similar options.
1 parent 3ff2a1f commit dadc58f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_dump/pg_restore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,11 +685,11 @@ usage(const char *progname)
685685
printf(_(" -S, --superuser=NAME superuser user name to use for disabling triggers\n"));
686686
printf(_(" -t, --table=NAME restore named relation (table, view, etc.)\n"));
687687
printf(_(" -T, --trigger=NAME restore named trigger\n"));
688-
printf(_(" --exclude-database=PATTERN exclude databases whose name matches with pattern\n"));
689688
printf(_(" -x, --no-privileges skip restoration of access privileges (grant/revoke)\n"));
690689
printf(_(" -1, --single-transaction restore as a single transaction\n"));
691690
printf(_(" --disable-triggers disable triggers during data-only restore\n"));
692691
printf(_(" --enable-row-security enable row security\n"));
692+
printf(_(" --exclude-database=PATTERN do not restore the specified database(s)\n"));
693693
printf(_(" --filter=FILENAME restore or skip objects based on expressions\n"
694694
" in FILENAME\n"));
695695
printf(_(" --if-exists use IF EXISTS when dropping objects\n"));

0 commit comments

Comments
 (0)