MCPcopy Create free account
hub / github.com/ElementsProject/lightning / flag_jsonfmt

Function flag_jsonfmt

plugins/libplugin.c:1753–1759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1751}
1752
1753bool flag_jsonfmt(struct command *cmd, struct json_stream *js, const char *fieldname, bool *i)
1754{
1755 /* Don't print if the default (false) */
1756 if (!*i)
1757 return false;
1758 return bool_jsonfmt(cmd, js, fieldname, i);
1759}
1760
1761static void setup_command_usage(struct plugin *p)
1762{

Callers

nothing calls this directly

Calls 1

bool_jsonfmtFunction · 0.85

Tested by

no test coverage detected