From 09fb9393f14b47effebaecc449a97ad07ef4c752 Mon Sep 17 00:00:00 2001 From: David Steele Date: Mon, 18 Oct 2021 14:02:05 -0400 Subject: [PATCH] Write command configuration overrides explicitly. If not written explicitly then it is impossible to distinguish the override from a NULL, which indicates no override. --- src/build/help/render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build/help/render.c b/src/build/help/render.c index e5a4fb47a..1d5ae46f3 100644 --- a/src/build/help/render.c +++ b/src/build/help/render.c @@ -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);