1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Write command configuration overrides explicitly.

If not written explicitly then it is impossible to distinguish the override from a NULL, which indicates no override.
This commit is contained in:
David Steele 2021-10-18 14:02:05 -04:00
parent 90f7f11a9f
commit 09fb9393f1

View File

@ -223,7 +223,7 @@ bldHlpRenderHelpAutoCPack(const BldCfg bldCfg, const BldHlp bldHlp)
pckWriteObjBeginP(pack, .id = cmdIdx + 1);
if (opt->internal != optCmd->internal)
pckWriteBoolP(pack, optCmd->internal);
pckWriteBoolP(pack, optCmd->internal, .defaultWrite = true);
else
pckWriteNullP(pack);