1
0
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:
Grigory Smolkin 2019-08-01 22:10:59 +03:00
parent 7ead1199c2
commit 98f5bbd3cf

View File

@ -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