Skip to content

Commit b3ecb19

Browse files
committed
Fix docs for ptrack and multithreads.
1 parent 07d4b8a commit b3ecb19

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pg_arman.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ static pgut_option options[] =
5656
{ 's', 'B', "backup-path", &backup_path, SOURCE_ENV },
5757
/* common options */
5858
{ 'b', 'c', "check", &check },
59-
{ 'i', 'j', "check", &num_threads },
59+
{ 'i', 'j', "threads", &num_threads },
6060
/* backup options */
6161
{ 'f', 'b', "backup-mode", opt_backup_mode, SOURCE_ENV },
6262
{ 'b', 'C', "smooth-checkpoint", &smooth_checkpoint, SOURCE_ENV },
@@ -217,8 +217,9 @@ pgut_help(bool details)
217217
printf(_(" -A, --arclog-path=PATH location of archive WAL storage area\n"));
218218
printf(_(" -B, --backup-path=PATH location of the backup storage area\n"));
219219
printf(_(" -c, --check show what would have been done\n"));
220+
printf(_(" -j, --threads=NUM num threads for backup and restore\n"));
220221
printf(_("\nBackup options:\n"));
221-
printf(_(" -b, --backup-mode=MODE full or page\n"));
222+
printf(_(" -b, --backup-mode=MODE full,page,ptrack\n"));
222223
printf(_(" -C, --smooth-checkpoint do smooth checkpoint before backup\n"));
223224
printf(_(" --validate validate backup after taking it\n"));
224225
printf(_(" --keep-data-generations=N keep GENERATION of full data backup\n"));

0 commit comments

Comments
 (0)