Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5168c76

Browse files
committed
pg_restore: make help output plural for multi-enabled options
per report from Josh Kupershmidt
1 parentd198171 commit5168c76

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎src/bin/pg_dump/pg_restore.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -442,25 +442,25 @@ usage(const char *progname)
442442
printf(_(" -c, --clean clean (drop) database objects before recreating\n"));
443443
printf(_(" -C, --create create the target database\n"));
444444
printf(_(" -e, --exit-on-error exit on error, default is to continue\n"));
445-
printf(_(" -I, --index=NAME restore namedindex\n"));
445+
printf(_(" -I, --index=NAME restore namedindexes\n"));
446446
printf(_(" -j, --jobs=NUM use this many parallel jobs to restore\n"));
447447
printf(_(" -L, --use-list=FILENAME use table of contents from this file for\n"
448448
" selecting/ordering output\n"));
449-
printf(_(" -n, --schema=NAME restore only objects inthis schema\n"));
449+
printf(_(" -n, --schema=NAME restore only objects inthese schemas\n"));
450450
printf(_(" -O, --no-owner skip restoration of object ownership\n"));
451-
printf(_(" -P, --function=NAME(args) restore namedfunction\n"));
451+
printf(_(" -P, --function=NAME(args) restore namedfunctions\n"));
452452
printf(_(" -s, --schema-only restore only the schema, no data\n"));
453453
printf(_(" -S, --superuser=NAME superuser user name to use for disabling triggers\n"));
454-
printf(_(" -t, --table=NAME restore namedtable(s)\n"));
455-
printf(_(" -T, --trigger=NAME restore namedtrigger\n"));
454+
printf(_(" -t, --table=NAME restore namedtables\n"));
455+
printf(_(" -T, --trigger=NAME restore namedtriggers\n"));
456456
printf(_(" -x, --no-privileges skip restoration of access privileges (grant/revoke)\n"));
457457
printf(_(" -1, --single-transaction restore as a single transaction\n"));
458458
printf(_(" --disable-triggers disable triggers during data-only restore\n"));
459459
printf(_(" --no-data-for-failed-tables do not restore data of tables that could not be\n"
460460
" created\n"));
461461
printf(_(" --no-security-labels do not restore security labels\n"));
462462
printf(_(" --no-tablespaces do not restore tablespace assignments\n"));
463-
printf(_(" --section=SECTION restore namedsection (pre-data, data, or post-data)\n"));
463+
printf(_(" --section=SECTION restore namedsections (pre-data, data, or post-data)\n"));
464464
printf(_(" --use-set-session-authorization\n"
465465
" use SET SESSION AUTHORIZATION commands instead of\n"
466466
" ALTER OWNER commands to set ownership\n"));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp