1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-05-22 10:15:16 +02:00

Move help data from define.auto.c/config.auto.c to a pack.

The help data can be represented more compactly in a pack and this separates data needed for help from data needed for parsing, freeing each to have a more appropriate representation.
This commit is contained in:
David Steele
2020-12-16 15:59:36 -05:00
parent 996de0a3e6
commit f520ecc89a
16 changed files with 4346 additions and 2263 deletions
+7
View File
@@ -37,6 +37,7 @@ use pgBackRestBuild::Build;
use pgBackRestBuild::Build::Common;
use pgBackRestBuild::Config::Build;
use pgBackRestBuild::Config::BuildDefine;
use pgBackRestBuild::Config::BuildHelp;
use pgBackRestBuild::Config::BuildParse;
use pgBackRestBuild::Error::Build;
use pgBackRestBuild::Error::Data;
@@ -573,6 +574,12 @@ eval
&BLD_PATH => 'config',
},
'configHelp' =>
{
&BLD_DATA => buildConfigHelp(),
&BLD_PATH => 'command/help',
},
'configDefine' =>
{
&BLD_DATA => buildConfigDefine(),