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

Commit912e6a5

Browse files
committed
add --dry-run option to help
1 parent0163a7e commit912e6a5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/help.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ help_pg_probackup(void)
146146

147147
printf(_("\n %s delete -B backup-path --instance=instance_name\n"),PROGRAM_NAME);
148148
printf(_(" [--wal] [-i backup-id | --expired | --merge-expired]\n"));
149+
printf(_(" [--dry-run]\n"));
149150
printf(_("\n %s merge -B backup-path --instance=instance_name\n"),PROGRAM_NAME);
150151
printf(_(" -i backup-id\n"));
151152

@@ -260,6 +261,7 @@ help_backup(void)
260261
printf(_(" number of full backups to keep; 0 disables; (default: 0)\n"));
261262
printf(_(" --retention-window=retention-window\n"));
262263
printf(_(" number of days of recoverability; 0 disables; (default: 0)\n"));
264+
printf(_(" --dry-run perform a trial run without any changes\n"));
263265

264266
printf(_("\n Compression options:\n"));
265267
printf(_(" --compress alias for --compress-algorithm='zlib' and --compress-level=1\n"));
@@ -414,7 +416,7 @@ help_delete(void)
414416
{
415417
printf(_("%s delete -B backup-path --instance=instance_name\n"),PROGRAM_NAME);
416418
printf(_(" [-i backup-id | --expired | --merge-expired] [--wal]\n"));
417-
printf(_(" [-j num-threads]\n\n"));
419+
printf(_(" [-j num-threads] [--dry-run]\n\n"));
418420

419421
printf(_(" -B, --backup-path=backup-path location of the backup storage area\n"));
420422
printf(_(" --instance=instance_name name of the instance\n"));
@@ -425,6 +427,7 @@ help_delete(void)
425427
printf(_(" retention policy\n"));
426428
printf(_(" --wal remove unnecessary wal files in WAL ARCHIVE\n"));
427429
printf(_(" -j, --threads=NUM number of parallel threads\n"));
430+
printf(_(" --dry-run perform a trial run without any changes\n"));
428431

429432
printf(_("\n Logging options:\n"));
430433
printf(_(" --log-level-console=log-level-console\n"));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp