mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-09 14:45:47 +02:00
fix error message about wrong agruments for 'delete' command
This commit is contained in:
parent
7ead1199c2
commit
98f5bbd3cf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user