1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-30 05:39:12 +02:00

Use consistent separator comment spacing in parse.auto.c.

This commit is contained in:
David Steele 2021-07-26 14:38:55 -04:00
parent 52d4574460
commit 8ca89fb41f
2 changed files with 24 additions and 24 deletions

View File

@ -253,7 +253,7 @@ sub buildConfigParse
# Build command data
$strBuildSource .=
"\n" .
" //" . (qw{-} x 126) . "\n" .
" // " . (qw{-} x 125) . "\n" .
" PARSE_RULE_COMMAND\n" .
" (\n" .
" PARSE_RULE_COMMAND_NAME(\"${strCommand}\"),\n";
@ -299,7 +299,7 @@ sub buildConfigParse
{
$strBuildSource .=
"\n" .
" //" . (qw{-} x 126) . "\n" .
" // " . (qw{-} x 125) . "\n" .
" PARSE_RULE_OPTION_GROUP\n" .
" (\n" .
" PARSE_RULE_OPTION_GROUP_NAME(\"" . $strGroup . "\"),\n" .

View File

@ -9,7 +9,7 @@ Command parse data
***********************************************************************************************************************************/
static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
{
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("archive-get"),
@ -24,7 +24,7 @@ static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("archive-push"),
@ -39,7 +39,7 @@ static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("backup"),
@ -52,7 +52,7 @@ static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("check"),
@ -64,7 +64,7 @@ static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("expire"),
@ -75,7 +75,7 @@ static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("help"),
@ -87,7 +87,7 @@ static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("info"),
@ -99,7 +99,7 @@ static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("repo-create"),
@ -111,7 +111,7 @@ static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("repo-get"),
@ -124,7 +124,7 @@ static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("repo-ls"),
@ -137,7 +137,7 @@ static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("repo-put"),
@ -150,7 +150,7 @@ static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("repo-rm"),
@ -163,7 +163,7 @@ static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("restore"),
@ -176,7 +176,7 @@ static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("stanza-create"),
@ -188,7 +188,7 @@ static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("stanza-delete"),
@ -200,7 +200,7 @@ static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("stanza-upgrade"),
@ -212,7 +212,7 @@ static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("start"),
@ -223,7 +223,7 @@ static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("stop"),
@ -234,7 +234,7 @@ static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("verify"),
@ -247,7 +247,7 @@ static const ParseRuleCommand parseRuleCommand[CFG_COMMAND_TOTAL] =
),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_COMMAND
(
PARSE_RULE_COMMAND_NAME("version"),
@ -264,13 +264,13 @@ Option group parse data
***********************************************************************************************************************************/
static const ParseRuleOptionGroup parseRuleOptionGroup[CFG_OPTION_GROUP_TOTAL] =
{
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_OPTION_GROUP
(
PARSE_RULE_OPTION_GROUP_NAME("pg"),
),
//------------------------------------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------------------------------
PARSE_RULE_OPTION_GROUP
(
PARSE_RULE_OPTION_GROUP_NAME("repo"),