shared/verbs: rename "footer" to "postscript" in introspection

The spec PR uses that term now. I didn't change the internal
variable name because I don't like the new name.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2026-08-28 09:28:23 +02:00
parent a11144d0a9
commit 23e8e4e80f
+1 -1
View File
@@ -649,7 +649,7 @@ static int command_build_json(
"abstract", SD_JSON_BUILD_STRV(STRV_MAKE(cmd->abstract))),
SD_JSON_BUILD_PAIR_CONDITION(
!!cmd->footer,
"footer", SD_JSON_BUILD_STRV(STRV_MAKE(cmd->footer))),
"postscript", SD_JSON_BUILD_STRV(STRV_MAKE(cmd->footer))),
SD_JSON_BUILD_PAIR_CONDITION(!!opts, "options", SD_JSON_BUILD_VARIANT(opts)),
SD_JSON_BUILD_PAIR_CONDITION(!!cmds, "verbs", SD_JSON_BUILD_VARIANT(cmds)));
if (r < 0)