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:
parent
90f7f11a9f
commit
09fb9393f1
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user