mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-02-21 19:48:29 +02:00
Allow quote tag in command-line help.
The quote tag will be used in an upcoming commit.
This commit is contained in:
parent
2a99ac4324
commit
ff1188f92d
@ -76,6 +76,12 @@ bldHlpRenderXmlNode(const xmlNodePtr xml)
|
||||
}
|
||||
else if (strEq(name, STRDEF("postgres")))
|
||||
strCatZ(result, "PostgreSQL");
|
||||
else if (strEq(name, STRDEF("quote")))
|
||||
{
|
||||
strCatChr(result, '"');
|
||||
strCat(result, bldHlpRenderXmlNode(currentNode));
|
||||
strCatChr(result, '"');
|
||||
}
|
||||
else if (
|
||||
strEq(name, STRDEF("id")) || strEq(name, STRDEF("br-option")) || strEq(name, STRDEF("cmd")) ||
|
||||
strEq(name, STRDEF("link")) || strEq(name, STRDEF("setting")) || strEq(name, STRDEF("pg-setting")) ||
|
||||
|
@ -43,7 +43,7 @@ testRun(void)
|
||||
"info"
|
||||
"</setting></proper></pg-setting></path></link></id></i></host></file></exe></code></cmd></br-option></b></p>\n"
|
||||
"\n"
|
||||
"<admonition>think about it</admonition>\n"
|
||||
"<admonition>think <quote>about</quote> it</admonition>\n"
|
||||
"\n"
|
||||
"<p>List:</p>\n"
|
||||
"\n"
|
||||
@ -56,7 +56,7 @@ testRun(void)
|
||||
"</doc>")))),
|
||||
"pgBackRest PostgreSQL - info\n"
|
||||
"\n"
|
||||
"NOTE: think about it\n"
|
||||
"NOTE: think \"about\" it\n"
|
||||
"\n"
|
||||
"List:\n"
|
||||
"\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user