1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-11-08 03:22:25 +03:00

Cleanup usage of internal options.

Apply internal to options that need to be read to determine locality but should not appear in the help.
This commit is contained in:
David Steele
2018-02-05 11:50:09 -05:00
parent be90028100
commit db21b7a360
13 changed files with 212 additions and 173 deletions

View File

@@ -166,7 +166,7 @@ helpRender()
for (unsigned int optionDefId = 0; optionDefId < cfgDefOptionTotal(); optionDefId++)
{
if (cfgDefOptionValid(commandDefId, optionDefId) && !cfgDefOptionInternal(optionDefId))
if (cfgDefOptionValid(commandDefId, optionDefId) && !cfgDefOptionInternal(commandDefId, optionDefId))
{
String *section = NULL;