1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-15 01:04:37 +02:00

Improve error when pg1-path option missing for archive-get command.

The assert thrown was not as descriptive as a proper option missing error.
This commit is contained in:
David Steele
2020-06-10 11:41:08 -04:00
parent d0e08a537d
commit da4f15663b
16 changed files with 46 additions and 20 deletions

View File

@ -2519,10 +2519,7 @@ my %hConfigDefine =
},
&CFGDEF_COMMAND =>
{
&CFGCMD_ARCHIVE_GET =>
{
&CFGDEF_REQUIRED => false
},
&CFGCMD_ARCHIVE_GET => {},
&CFGCMD_ARCHIVE_PUSH =>
{
&CFGDEF_REQUIRED => false