From f0abaf94389b360a58706087769d4772377a5af5 Mon Sep 17 00:00:00 2001 From: Grigory Smolkin Date: Wed, 18 Jul 2018 09:10:38 +0300 Subject: [PATCH] add --no-validate description to help --- src/help.c | 3 ++- tests/expected/option_help.out | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/help.c b/src/help.c index 773f6c9d..549a2e2b 100644 --- a/src/help.c +++ b/src/help.c @@ -121,6 +121,7 @@ help_pg_probackup(void) printf(_(" [--immediate] [--recovery-target-name=target-name]\n")); printf(_(" [--recovery-target-action=pause|promote|shutdown]\n")); printf(_(" [--restore-as-replica]\n")); + printf(_(" [--no-validate]\n")); printf(_("\n %s validate -B backup-dir [--instance=instance_name]\n"), PROGRAM_NAME); printf(_(" [-i backup-id] [--progress]\n")); @@ -285,7 +286,6 @@ help_restore(void) printf(_(" relocate the tablespace from directory OLDDIR to NEWDIR\n")); printf(_(" --immediate end recovery as soon as a consistent state is reached\n")); - printf(_(" --no-validate disable backup validation during recovery\n")); printf(_(" --recovery-target-name=target-name\n")); printf(_(" the named restore point to which recovery will proceed\n")); printf(_(" --recovery-target-action=pause|promote|shutdown\n")); @@ -294,6 +294,7 @@ help_restore(void) printf(_(" -R, --restore-as-replica write a minimal recovery.conf in the output directory\n")); printf(_(" to ease setting up a standby server\n")); + printf(_(" --no-validate disable backup validation during restore\n")); printf(_("\n Logging options:\n")); printf(_(" --log-level-console=log-level-console\n")); diff --git a/tests/expected/option_help.out b/tests/expected/option_help.out index a72aada8..f9c59e0e 100644 --- a/tests/expected/option_help.out +++ b/tests/expected/option_help.out @@ -58,6 +58,7 @@ pg_probackup - utility to manage backup/recovery of PostgreSQL database. [--immediate] [--recovery-target-name=target-name] [--recovery-target-action=pause|promote|shutdown] [--restore-as-replica] + [--no-validate] pg_probackup validate -B backup-dir [--instance=instance_name] [-i backup-id] [--progress]