From 98f5bbd3cfbaf22bbaf00c9e0586b2304dab6e61 Mon Sep 17 00:00:00 2001 From: Grigory Smolkin Date: Thu, 1 Aug 2019 22:10:59 +0300 Subject: [PATCH] fix error message about wrong agruments for 'delete' command --- src/pg_probackup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pg_probackup.c b/src/pg_probackup.c index fbb7387a..839ca940 100644 --- a/src/pg_probackup.c +++ b/src/pg_probackup.c @@ -643,7 +643,7 @@ main(int argc, char *argv[]) elog(ERROR, "You cannot specify --merge-expired and --backup-id options together"); if (!delete_expired && !merge_expired && !delete_wal && !backup_id_string) elog(ERROR, "You must specify at least one of the delete options: " - "--expired |--wal |--merge-expired |--delete-invalid |--backup_id"); + "--delete-expired |--delete-wal |--merge-expired |--backup_id"); if (!backup_id_string) return do_retention(); else