mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-12 10:04:14 +02:00
Remove command overrides for output options.
The overrides are not needed since both commands require the same default and allow list.
This commit is contained in:
parent
e8e346bc87
commit
bd91ebca75
@ -293,17 +293,13 @@ option:
|
|||||||
|
|
||||||
output:
|
output:
|
||||||
type: string
|
type: string
|
||||||
|
default: text
|
||||||
command:
|
command:
|
||||||
info:
|
info: {}
|
||||||
default: text
|
repo-ls: {}
|
||||||
allow-list:
|
allow-list:
|
||||||
- text
|
- text
|
||||||
- json
|
- json
|
||||||
repo-ls:
|
|
||||||
default: text
|
|
||||||
allow-list:
|
|
||||||
- text
|
|
||||||
- json
|
|
||||||
command-role:
|
command-role:
|
||||||
main: {}
|
main: {}
|
||||||
|
|
||||||
|
@ -2289,31 +2289,13 @@ static const ParseRuleOption parseRuleOption[CFG_OPTION_TOTAL] =
|
|||||||
|
|
||||||
PARSE_RULE_OPTION_OPTIONAL_LIST
|
PARSE_RULE_OPTION_OPTIONAL_LIST
|
||||||
(
|
(
|
||||||
PARSE_RULE_OPTION_OPTIONAL_COMMAND_OVERRIDE
|
PARSE_RULE_OPTION_OPTIONAL_ALLOW_LIST
|
||||||
(
|
(
|
||||||
PARSE_RULE_OPTION_OPTIONAL_COMMAND(cfgCmdInfo),
|
"text",
|
||||||
|
"json"
|
||||||
|
),
|
||||||
|
|
||||||
PARSE_RULE_OPTION_OPTIONAL_ALLOW_LIST
|
PARSE_RULE_OPTION_OPTIONAL_DEFAULT("text"),
|
||||||
(
|
|
||||||
"text",
|
|
||||||
"json"
|
|
||||||
),
|
|
||||||
|
|
||||||
PARSE_RULE_OPTION_OPTIONAL_DEFAULT("text"),
|
|
||||||
)
|
|
||||||
|
|
||||||
PARSE_RULE_OPTION_OPTIONAL_COMMAND_OVERRIDE
|
|
||||||
(
|
|
||||||
PARSE_RULE_OPTION_OPTIONAL_COMMAND(cfgCmdRepoLs),
|
|
||||||
|
|
||||||
PARSE_RULE_OPTION_OPTIONAL_ALLOW_LIST
|
|
||||||
(
|
|
||||||
"text",
|
|
||||||
"json"
|
|
||||||
),
|
|
||||||
|
|
||||||
PARSE_RULE_OPTION_OPTIONAL_DEFAULT("text"),
|
|
||||||
)
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user