From e9190e6cc33ea8835c502e091525da2ee869a25f Mon Sep 17 00:00:00 2001 From: Arthur Zakirov Date: Mon, 4 Mar 2019 16:47:21 +0300 Subject: [PATCH] tests: update help test --- src/help.c | 2 +- tests/expected/option_help.out | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/help.c b/src/help.c index 0068ecee..ddc47709 100644 --- a/src/help.c +++ b/src/help.c @@ -97,7 +97,7 @@ help_pg_probackup(void) printf(_(" [--format=format]\n")); printf(_("\n %s backup -B backup-path -b backup-mode --instance=instance_name\n"), PROGRAM_NAME); - printf(_(" [-C] [--stream [-S slot-name] [--temp-slot]\n")); + printf(_(" [-C] [--stream [-S slot-name]] [--temp-slot]\n")); printf(_(" [--backup-pg-log] [-j num-threads]\n")); printf(_(" [--archive-timeout=archive-timeout] [--progress]\n")); printf(_(" [--log-level-console=log-level-console]\n")); diff --git a/tests/expected/option_help.out b/tests/expected/option_help.out index ecc59a89..abb5ce71 100644 --- a/tests/expected/option_help.out +++ b/tests/expected/option_help.out @@ -29,9 +29,9 @@ pg_probackup - utility to manage backup/recovery of PostgreSQL database. [--format=format] pg_probackup backup -B backup-path -b backup-mode --instance=instance_name - [-C] [--stream [-S slot-name]] [--backup-pg-log] - [-j num-threads] [--archive-timeout=archive-timeout] - [--progress] + [-C] [--stream [-S slot-name]] [--temp-slot] + [--backup-pg-log] [-j num-threads] + [--archive-timeout=archive-timeout] [--progress] [--log-level-console=log-level-console] [--log-level-file=log-level-file] [--log-filename=log-filename]